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

Last updated: September 20,2024

1. Install "libpython2.7-dev" package

Please follow the steps below to install libpython2.7-dev on Debian 10 (Buster)

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

2. Uninstall "libpython2.7-dev" package

Please follow the guidance below to uninstall libpython2.7-dev on Debian 10 (Buster):

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

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

Package: libpython2.7-dev
Source: python2.7
Version: 2.7.16-2+deb10u1
Installed-Size: 53569
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.16-2+deb10u1), libpython2.7 (= 2.7.16-2+deb10u1), 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.16-2+deb10u1_amd64.deb
Size: 31583848
MD5sum: a10c17f36f3b227876ca72f2b687c6ee
SHA256: 8f7146f8f4308999c052e82e2012b82a8cd475593d3195ef91ab5e68236044ef