How to Install and Uninstall 2to3 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: July 18,2024

1. Install "2to3" package

This guide let you learn how to install 2to3 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install 2to3

2. Uninstall "2to3" package

Learn how to uninstall 2to3 on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the 2to3 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: 2to3
Architecture: all
Version: 3.12.1-0ubuntu2
Multi-Arch: foreign
Priority: optional
Section: universe/python
Source: python3-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Installed-Size: 32
Depends: python3-lib2to3 (>= 3.11.5-1~), python3 (>= 3.12.1-0ubuntu2)
Breaks: python (<< 2.7.14-4)
Replaces: python (<< 2.7.14-4)
Filename: pool/universe/p/python3-defaults/2to3_3.12.1-0ubuntu2_all.deb
Size: 10730
MD5sum: 424f48a635ac0e36c4dc0bfff1ca277c
SHA1: 8ef6632bd5a9e1ace0ae7d3a34fc19f6d51ff34b
SHA256: 7bf011138cfe096536aa27b87cac674eda4550ec30bd421d1cacc474198aac0b
SHA512: cbb76b048f5e040fd9cf5e4de157cda13af5f897fda5d88bd1ba3c71baa93f36a916b35b4e05806dddb3734eeabd1305702d749c44feeb2cd9c0c8181d0e3cf9
Description: 2to3 binary using python3
Description-md5: f572313f6474fd18ce500cec46aba367