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

Last updated: May 14,2024

1. Install "libpython2.7" package

This guide covers the steps necessary to install libpython2.7 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install libpython2.7

2. Uninstall "libpython2.7" package

Please follow the step by step instructions below to uninstall libpython2.7 on Debian 10 (Buster):

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

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

Package: libpython2.7
Source: python2.7
Version: 2.7.16-2+deb10u1
Installed-Size: 3414
Maintainer: Matthias Klose
Architecture: amd64
Replaces: python2.7 (<< 2.6)
Depends: libpython2.7-stdlib (= 2.7.16-2+deb10u1), libc6 (>= 2.28), zlib1g (>= 1:1.2.0)
Description: Shared Python runtime library (version 2.7)
Description-md5: ca83a75c05dbdfe28eaeb1252ff614a4
Multi-Arch: same
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/p/python2.7/libpython2.7_2.7.16-2+deb10u1_amd64.deb
Size: 1036292
MD5sum: 7e19faaab3229695cf37d5423cbf0dd4
SHA256: e5dcd5ff5be854e9c7645f1a349701e809078051ef88dd119dc55d07c2e1f7bb