How to Install and Uninstall 2to3 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 21,2024

1. Install "2to3" package

In this section, we are going to explain the necessary steps to install 2to3 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install 2to3

2. Uninstall "2to3" package

Please follow the guidelines below to uninstall 2to3 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the 2to3 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: 2to3
Architecture: all
Version: 3.8.2-0ubuntu2
Multi-Arch: foreign
Priority: optional
Section: universe/python
Source: python3-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43
Depends: python3-lib2to3 (>= 3.8.2-1~), python3 (>= 3.8.2-0ubuntu2)
Breaks: python (<< 2.7.14-4)
Replaces: python (<< 2.7.14-4)
Filename: pool/universe/p/python3-defaults/2to3_3.8.2-0ubuntu2_all.deb
Size: 7872
MD5sum: a1d602d51d9f5ce264d22e9e2a55ee93
SHA1: 7835d783f882a8cff9fb6eb93b3af9c00ee956db
SHA256: 6313f486b1200aa81bda1e2119e40e721780826977285c3500d61beab136761a
Homepage: https://www.python.org/
Description: 2to3 binary using python3
Description-md5: e62c3d156d0f53d5418e0704d1e75c33