How to Install and Uninstall python2.7 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 22,2024

1. Install "python2.7" package

This guide let you learn how to install python2.7 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python2.7

2. Uninstall "python2.7" package

Please follow the steps below to uninstall python2.7 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the python2.7 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python2.7
Architecture: amd64
Version: 2.7.18-1~20.04.3
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-1~20.04.3), libpython2.7-stdlib (= 2.7.18-1~20.04.3), 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-1~20.04.3_amd64.deb
Size: 248228
MD5sum: 0eb588c3a4ec125aa711205964ce336a
SHA1: b2b590a22e8d74b458f5ac8168a571928ec7c818
SHA256: a78a10891a5abac00eb4e98db6e74ba9f0808460f961acd309ffc8f194cf0c23
SHA512: 04705df25c00481f099d97fb60355c19e0ee0c97e23fdc0babbaef79ff328d44a495956169ae88aae5fc51724cb6250b3c9e85191a500e60c9dec5fd65799fec
Description: Interactive high-level object-oriented language (version 2.7)
Description-md5: 28620f1beffd6b598125304a83bfcb87
Task: ubuntustudio-desktop-core, ubuntustudio-desktop

Package: python2.7
Architecture: amd64
Version: 2.7.18~rc1-2
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: 381
Depends: python2.7-minimal (= 2.7.18~rc1-2), libpython2.7-stdlib (= 2.7.18~rc1-2), 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~rc1-2_amd64.deb
Size: 248260
MD5sum: c26ab8507854d4905db3af561bc30e42
SHA1: b6e0d39a228dedcb677e7991d2e4d2ecba338730
SHA256: 6efda7bd595f2bbf2e1483562a3163afc382941ac727773742611dc1e937a045
Description: Interactive high-level object-oriented language (version 2.7)
Description-md5: 28620f1beffd6b598125304a83bfcb87
Task: ubuntustudio-desktop-core, ubuntustudio-desktop