How to Install and Uninstall 2to3 Package on Debian 11 (Bullseye)

Last updated: March 04,2024

1. Install "2to3" package

In this section, we are going to explain the necessary steps to install 2to3 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install 2to3

2. Uninstall "2to3" package

This guide covers the steps necessary to uninstall 2to3 on Debian 11 (Bullseye):

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

3. Information about the 2to3 package on Debian 11 (Bullseye)

Package: 2to3
Source: python3-defaults
Version: 3.9.2-3
Installed-Size: 43
Maintainer: Matthias Klose
Architecture: all
Replaces: python (<< 2.7.14-4)
Depends: python3-lib2to3 (>= 3.9.2-0~), python3 (>= 3.9.2-3)
Breaks: python (<< 2.7.14-4)
Description: 2to3 binary using python3
Description-md5: a9529fe93619a838678e18a77f46ab71
Multi-Arch: foreign
Section: python
Priority: optional
Filename: pool/main/p/python3-defaults/2to3_3.9.2-3_all.deb
Size: 22424
MD5sum: 6e1f1c465effa7dfbe2288b3eb1b888e
SHA256: b0a2b031d6eeeb396e85ef4e965240072e6ee4ea588cd6250268c4f988fb69db