How to Install and Uninstall 2to3 Package on Debian 12 (Bookworm)

Last updated: December 10,2024

1. Install "2to3" package

Please follow the guidance below to install 2to3 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install 2to3

2. Uninstall "2to3" package

In this section, we are going to explain the necessary steps to uninstall 2to3 on Debian 12 (Bookworm):

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

3. Information about the 2to3 package on Debian 12 (Bookworm)

Package: 2to3
Source: python3-defaults
Version: 3.11.2-1
Installed-Size: 31
Maintainer: Matthias Klose
Architecture: all
Replaces: python (<< 2.7.14-4)
Depends: python3-lib2to3 (>= 3.11.2-1~), python3 (>= 3.11.2-1)
Breaks: python (<< 2.7.14-4)
Description: 2to3 binary using python3
Description-md5: 1ead01c990da218c602e6afc000e1598
Multi-Arch: foreign
Homepage: https://www.python.org/
Section: python
Priority: optional
Filename: pool/main/p/python3-defaults/2to3_3.11.2-1_all.deb
Size: 10000
MD5sum: 32687ee3cb3bcacedb34a35bb582a78a
SHA256: 2d695b380012d539ec7b40d15baab81ed671523f7a36ea7096a379528e878b75