How to Install and Uninstall python2.7 Package on Debian 10 (Buster)

Last updated: November 22,2024

1. Install "python2.7" package

In this section, we are going to explain the necessary steps to install python2.7 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python2.7

2. Uninstall "python2.7" package

This guide covers the steps necessary to uninstall python2.7 on Debian 10 (Buster):

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

3. Information about the python2.7 package on Debian 10 (Buster)

Package: python2.7
Version: 2.7.16-2+deb10u1
Installed-Size: 377
Maintainer: Matthias Klose
Architecture: amd64
Replaces: python-profiler (<= 2.7.1-2), python2.7-minimal (<< 2.7.3-7~)
Depends: python2.7-minimal (= 2.7.16-2+deb10u1), libpython2.7-stdlib (= 2.7.16-2+deb10u1), 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)
Description: Interactive high-level object-oriented language (version 2.7)
Description-md5: 28620f1beffd6b598125304a83bfcb87
Multi-Arch: allowed
Tag: devel::interpreter, devel::lang:python, devel::runtime,
implemented-in::c, interface::commandline, role::program,
works-with::software:running, works-with::software:source
Section: python
Priority: standard
Filename: pool/main/p/python2.7/python2.7_2.7.16-2+deb10u1_amd64.deb
Size: 304600
MD5sum: 7b75c63f4c1c6449b2010cb83a2eeaa3
SHA256: 66951c2dbc143d93b6b8757eb749bbd380f340c454301a27bd45ff712b9cffb0