How to Install and Uninstall 2to3 Package on Debian 10 (Buster)

Last updated: June 20,2024

1. Install "2to3" package

This tutorial shows how to install 2to3 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install 2to3

2. Uninstall "2to3" package

Please follow the instructions below to uninstall 2to3 on Debian 10 (Buster):

$ sudo apt remove 2to3 $ sudo apt autoclean && sudo apt autoremove

3. Information about the 2to3 package on Debian 10 (Buster)

Package: 2to3
Source: python3-defaults
Version: 3.7.3-1
Installed-Size: 42
Maintainer: Matthias Klose
Architecture: all
Replaces: python (<< 2.7.14-4)
Depends: python3-lib2to3 (>= 3.7.2-1~), python3 (>= 3.7.3-1)
Breaks: python (<< 2.7.14-4)
Description: 2to3 binary using python3
Description-md5: d5119f3b6fdec6a4663ea2fdaf912fa9
Multi-Arch: foreign
Homepage: https://www.python.org/
Section: python
Priority: optional
Filename: pool/main/p/python3-defaults/2to3_3.7.3-1_all.deb
Size: 20844
MD5sum: 66a8fc288748363d57512898d8edb508
SHA256: 2d43da1764c70833963492deba868ddd7c5870582847be9171cba8f9a7443677