2to3 on Ubuntu 21.10 (Impish Indri)

Last updated: December 07,2022

1. Install 2to3 package

This guide covers the steps necessary to install 2to3 package:

sudo apt update
sudo apt install 2to3

2. Uninstall / Remove 2to3 package

Please follow the guidance below to uninstall 2to3 package:

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

3. Details of 2to3 package

Package: 2to3
Architecture: all
Version: 3.9.4-1build1
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.9.4-0~), python3 (>= 3.9.4-1build1)
Breaks: python (<< 2.7.14-4)
Replaces: python (<< 2.7.14-4)
Filename: pool/universe/p/python3-defaults/2to3_3.9.4-1build1_all.deb
Size: 8166
MD5sum: 4fcdc94ee03c7091d808cab00515d987
SHA1: e980e41e60c56e089ef88fe55a609709772432fc
SHA256: 1390144c20a5232fd9209270ca20f48499d6a281c49a1f40ca5f66a469a2cfc3
SHA512: df2eeeca173c25e28bc0b00280395c6551d8b030d83d5ab323cf47a05c2d119e03261bd4cdbec13011246b302ee39129d649169a59843d28ab39a3ab238d606e
Homepage: https://www.python.org/
Description-en: 2to3 binary using python3
2to3 is a Python program that reads Python 2.x source code and applies a
series of fixers to transform it into valid Python 3.x code. The standard
library contains a rich set of fixers that will handle almost all code. 2to3
supporting library lib2to3 is, however, a flexible and generic library, so it
is possible to write your own fixers for 2to3. lib2to3 could also be adapted
to custom applications in which Python code needs to be edited automatically.
This package is a dependency package, which depends on Debian's default
Python 3 2to3 version (currently v3.9).
Description-md5: a9529fe93619a838678e18a77f46ab71