How to Install and Uninstall python-is-python2 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "python-is-python2" package

This is a short guide on how to install python-is-python2 on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "python-is-python2" package

In this section, we are going to explain the necessary steps to uninstall python-is-python2 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the python-is-python2 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python-is-python2
Architecture: all
Version: 2.7.17-4
Multi-Arch: allowed
Priority: optional
Section: universe/oldlibs
Source: what-is-python (4)
Origin: Ubuntu
Maintainer: Dimitri John Ledkov
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10
Provides: python (= 2.7.17-1)
Depends: python2
Breaks: python, python-is-python2-but-deprecated, python-is-python3
Replaces: python, python-is-python2-but-deprecated, python-is-python3
Filename: pool/universe/w/what-is-python/python-is-python2_2.7.17-4_all.deb
Size: 2496
MD5sum: 6e0b9c818de5269a32052059ac02fb63
SHA1: 2652b8c6c3799a5f09c5e1f01c2c1e820ddc3152
SHA256: 7f772acd5ddb34e07aec4d85351b27f47ed664624dadd6f9a79c2cd8d9f21259
Description: symlinks /usr/bin/python to the DEPRECATED python2
Description-md5: f0a343f0ee0a82a99cb8e625a2a9d50d
Cnf-Ignore-Commands: python