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

Last updated: May 11,2024

1. Install "libpython2.7-dev" package

In this section, we are going to explain the necessary steps to install libpython2.7-dev on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libpython2.7-dev

2. Uninstall "libpython2.7-dev" package

Please follow the step by step instructions below to uninstall libpython2.7-dev on Debian 11 (Bullseye):

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

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

Package: libpython2.7-dev
Source: python2.7
Version: 2.7.18-8
Installed-Size: 12953
Maintainer: Matthias Klose
Architecture: amd64
Replaces: python2.7 (<< 2.7-3), python2.7-dev (<< 2.7.3-10), python2.7-minimal (<< 2.7.3-10)
Depends: libpython2.7-stdlib (= 2.7.18-8), libpython2.7 (= 2.7.18-8), libexpat1-dev
Recommends: libc6-dev | libc-dev
Description: Header files and a static library for Python (v2.7)
Description-md5: 2ef5e0390998d9ab1872bc0f6b694ff7
Multi-Arch: same
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/p/python2.7/libpython2.7-dev_2.7.18-8_amd64.deb
Size: 2354340
MD5sum: c46f3dc708586898effd6ba27ec5c175
SHA256: 54c60f8c4439bc4b06256d37b3c59b4e3509382ec51b12ca49f08955325dc8f1