How to Install and Uninstall python-is-python2 Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 15,2024

1. Install "python-is-python2" package

Please follow the guidance below to install python-is-python2 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python-is-python2

2. Uninstall "python-is-python2" package

This guide let you learn how to uninstall python-is-python2 on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python-is-python2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-is-python2 package on Ubuntu 21.10 (Impish Indri)

Package: python-is-python2
Architecture: all
Version: 2.7.18-9
Multi-Arch: allowed
Priority: optional
Section: universe/oldlibs
Source: what-is-python (9)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Provides: python (= 2.7.18-2)
Depends: python2
Breaks: python, python-is-python2-but-deprecated, python-is-python3, python-minimal
Replaces: python, python-is-python2-but-deprecated, python-is-python3, python-minimal
Filename: pool/universe/w/what-is-python/python-is-python2_2.7.18-9_all.deb
Size: 2976
MD5sum: e3a13da2c288ce0acd04d4316193d195
SHA1: 676950172dbbc282c58b2ea0ff432a625e3c9f24
SHA256: 3cdf7cdebb91d5f5b127b0f5dce53b8b92090b3d1472c1a44e2eefef0e3af695
SHA512: 898833c03c452395d9a68c0e55a8bf7cd2de4ce49c91cd1b091624717d75f105fbad12753602f76f13b3e722c8eaf6727e9cfaaf7d2bafcf02817a2c0a916666
Description-en: symlinks /usr/bin/python to the DEPRECATED python2
Starting with the Debian 11 (bullseye) and Ubuntu 20.04 LTS (focal)
releases, all python packages use explicit python3 or python2
interpreter and do not use unversioned /usr/bin/python at all. Some
third-party code may still be python2 based, yet may use
/usr/bin/python.
.
This is a convenience package which ships a symlink to point
/usr/bin/python interpreter at the current default python2. It may
improve compatibility with obsolete 3rd-party software, whilst
breaking some modern software.
.
This package will be installed upon upgrades to Debian 11 (bullseye)
and Ubuntu 20.04, if the DEPRECATED python2 was installed.
.
python2 is DEPRECATED and will not be provided in future Debian and
Ubuntu releases. It is recommended to remove python2 and this package
after ensuring that only python3 is in use.
.
No packages may declare dependencies on this package, or recommend
that package.
Description-md5: 9230ed9565944e16e1e03fa16778fe4b
Cnf-Ignore-Commands: python