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

Last updated: May 17,2024

1. Install "python-dev-is-python2" package

In this section, we are going to explain the necessary steps to install python-dev-is-python2 on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "python-dev-is-python2" package

This is a short guide on how to uninstall python-dev-is-python2 on Ubuntu 21.10 (Impish Indri):

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

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

Package: python-dev-is-python2
Architecture: all
Version: 2.7.18-9
Multi-Arch: allowed
Priority: optional
Section: universe/python
Source: what-is-python (9)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 15
Provides: python-dev (= 2.7.18-2)
Depends: python-is-python2 (= 2.7.18-9), python2-dev
Breaks: python-dev, python-dev-is-python2-but-deprecated, python-dev-is-python3
Replaces: python-dev, python-dev-is-python2-but-deprecated, python-dev-is-python3
Filename: pool/universe/w/what-is-python/python-dev-is-python2_2.7.18-9_all.deb
Size: 1576
MD5sum: 6a7dd1cf9c4301340aa5d13bdca189c2
SHA1: 8c2ee50cff8e4f6e6241aaefd3a84d0ea88ce271
SHA256: 42221ac2a7b976acced19edd6f91805200d7205a3820960552d1b554c7d64f91
SHA512: c83a018431a68d151e996517a2a1ddc8d02ca2145362f347cca4854e53309fb4ee2df575dc8aeb4b36a3f1f420f201be27b06243198958d29c0e78d678f63beb
Description-en: symlinks /usr/bin/python-config to the DEPRECATED python2-config
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-config at all. Some
third-party code may still be python2 based, yet may use
/usr/bin/python-config.
.
This is a convenience package which ships a symlink to point
the /usr/bin/python-config script 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: c2f23af88867cedb6f94088da0777f93
Cnf-Ignore-Commands: python-config