How to Install and Uninstall python2.7 Package on Linux Mint 21 (Vanessa)

Last updated: December 24,2024

1. Install "python2.7" package

Here is a brief guide to show you how to install python2.7 on Linux Mint 21 (Vanessa)

$ sudo apt update $ sudo apt install python2.7

2. Uninstall "python2.7" package

This tutorial shows how to uninstall python2.7 on Linux Mint 21 (Vanessa):

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

3. Information about the python2.7 package on Linux Mint 21 (Vanessa)

Package: python2.7
Architecture: amd64
Version: 2.7.18-13ubuntu1.2
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.2), libpython2.7-stdlib (= 2.7.18-13ubuntu1.2), 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.2_amd64.deb
Size: 249642
MD5sum: 6a4857b07a14261bb4443bdadd8da52a
SHA1: ca48e4000d1de0e65073557e21571f189a159a65
SHA256: 0ee331521d10bbd4691582962cbfc484bb727184d2ae0c27ec1a7ab4e2c48ba8
SHA512: 9e6542749ee37c003287a123209dd68a8ea77e7ad1138065cbe8fd637c58f89585ac3fceec811a8374c9f5aff113d0b012aa9ec03a38d8df83c668e14ddbaad5
Description: Interactive high-level object-oriented language (version 2.7)
Description-md5: 28620f1beffd6b598125304a83bfcb87

Package: python2.7
Architecture: amd64
Version: 2.7.18-13ubuntu1.1
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.1), libpython2.7-stdlib (= 2.7.18-13ubuntu1.1), 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.1_amd64.deb
Size: 249652
MD5sum: a4f5c391e11c4ffa20f2fd8b21602f45
SHA1: 8e9af5f661b7e23870d083d7ec9987ea50e5ab24
SHA256: 4fba9edf2306c58ec5f2898773e1e0f0092c9d8c97ae5d6041d1033931058922
SHA512: c2a277f6225f11beacdb22abce6f7ff1ac72e793c2b8a416d26a5f019b88108a99d32d487b811ffa07ade3018a8830523609f5db9c59484065e6b414e36f2786
Description: Interactive high-level object-oriented language (version 2.7)
Description-md5: 28620f1beffd6b598125304a83bfcb87

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