How to Install and Uninstall libpython2.7 Package on Debian 11 (Bullseye)

Last updated: March 29,2024

1. Install "libpython2.7" package

Please follow the steps below to install libpython2.7 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libpython2.7

2. Uninstall "libpython2.7" package

This guide covers the steps necessary to uninstall libpython2.7 on Debian 11 (Bullseye):

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

3. Information about the libpython2.7 package on Debian 11 (Bullseye)

Package: libpython2.7
Source: python2.7
Version: 2.7.18-8
Installed-Size: 3369
Maintainer: Matthias Klose
Architecture: amd64
Replaces: python2.7 (<< 2.6)
Depends: libpython2.7-stdlib (= 2.7.18-8), libc6 (>= 2.29), 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.18-8_amd64.deb
Size: 1022456
MD5sum: 894dfe296ed8a4b7c5fbe33165bdaa4b
SHA256: cf76906d8a0ed68d8e004837c50a110e9144b52a25dfdec7a0635b431cd36b62