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

Last updated: April 28,2024

1. Install "python2.7-dev" package

Please follow the step by step instructions below to install python2.7-dev on Debian 10 (Buster)

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

2. Uninstall "python2.7-dev" package

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

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

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

Package: python2.7-dev
Source: python2.7
Version: 2.7.16-2+deb10u1
Installed-Size: 301
Maintainer: Matthias Klose
Architecture: amd64
Replaces: python2.7 (<< 2.7-3)
Depends: python2.7 (= 2.7.16-2+deb10u1), libpython2.7-dev (= 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: 0f13a410a5bbc68affef1492eee5d8e2
Multi-Arch: allowed
Tag: devel::lang:python, devel::library, role::devel-lib
Section: python
Priority: optional
Filename: pool/main/p/python2.7/python2.7-dev_2.7.16-2+deb10u1_amd64.deb
Size: 294164
MD5sum: 164a02b74ef6b6f5352e0459f765435f
SHA256: fa4905e28309d85d9ea7e5bb23bf6a8ab2f75bd4af004ec0193e4017f2d32c18