How to Install and Uninstall python2.7 Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "python2.7" package

Please follow the step by step instructions below to install python2.7 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python2.7

2. Uninstall "python2.7" package

This guide let you learn how to uninstall python2.7 on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python2.7 $ sudo apt autoclean && sudo apt autoremove

3. Information about the python2.7 package on Ubuntu 21.10 (Impish Indri)

Package: python2.7
Architecture: amd64
Version: 2.7.18-8build1
Multi-Arch: allowed
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 382
Depends: python2.7-minimal (= 2.7.18-8build1), libpython2.7-stdlib (= 2.7.18-8build1), mime-support
Suggests: python2.7-doc, binutils
Conflicts: python-profiler (<= 2.7.1-2)
Breaks: python-virtualenv (<< 1.7.1.2-2~), vim-athena (<< 2:7.3.547-4), vim-gnome (<< 2:7.3.547-4), vim-gtk (<< 2:7.3.547-4), vim-nox (<< 2:7.3.547-4)
Replaces: python-profiler (<= 2.7.1-2), python2.7-minimal (<< 2.7.3-7~)
Filename: pool/universe/p/python2.7/python2.7_2.7.18-8build1_amd64.deb
Size: 249634
MD5sum: 0f02191b79a28297497230efcef0a20e
SHA1: d553fa639fcc9e39bb3a33aba3ad7a968652d430
SHA256: a781d510fc29fd604a0d10f9286665c1c3124d1e6cd63b7c50134ddc726341c7
SHA512: 7336c8ef8a67ce3346e4e98ff9e8f011105fc4abd8e43b395258f94ac13503c35a0518a29516b49a81213b9fc24ed28a54e488f9e9972e4ce8e485546eb33095
Description-en: Interactive high-level object-oriented language (version 2.7)
Python is a high-level, interactive, object-oriented language. Its 2.7 version
includes an extensive class library with lots of goodies for
network programming, system administration, sounds and graphics.
Description-md5: 28620f1beffd6b598125304a83bfcb87