How to Install and Uninstall python2.7 Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: November 22,2024

1. Install "python2.7" package

Please follow the instructions below to install python2.7 on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install python2.7

2. Uninstall "python2.7" package

Please follow the instructions below to uninstall python2.7 on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the python2.7 package on Ubuntu 22.10 (Kinetic Kudu)

Package: python2.7
Architecture: amd64
Version: 2.7.18-13ubuntu1
Multi-Arch: allowed
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Core Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 383
Depends: python2.7-minimal (= 2.7.18-13ubuntu1), libpython2.7-stdlib (= 2.7.18-13ubuntu1), media-types | 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-13ubuntu1_amd64.deb
Size: 249640
MD5sum: 784a4f11870e897dd0789d01b11247fb
SHA1: d5c68ff3667d30b6b4bb847823c6e0b64a2145cd
SHA256: c1ba8b62552fcd0debbd848cdde824f07a1a5c989bc6ef58a9a28dc3c2388f75
SHA512: a44225e6ce4164bab1417994ef1a0c730bae4216ed35767503d9a5e788985d6e1e05baad29fb7950cb2c3cdb9372e86f60b141a9d3e458955414db72f0101410
Description: Interactive high-level object-oriented language (version 2.7)
Description-md5: 28620f1beffd6b598125304a83bfcb87