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

Last updated: May 15,2024

1. Install "python2.7-dev" package

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

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

2. Uninstall "python2.7-dev" package

Learn how to uninstall python2.7-dev on Debian 11 (Bullseye):

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

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

Package: python2.7-dev
Source: python2.7
Version: 2.7.18-8
Installed-Size: 299
Maintainer: Matthias Klose
Architecture: amd64
Replaces: python2.7 (<< 2.7-3)
Depends: python2.7 (= 2.7.18-8), libpython2.7-dev (= 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: 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.18-8_amd64.deb
Size: 291420
MD5sum: f81a29d60027d3933e09aad9222be581
SHA256: 03401c5503cbdf1854fb68567ce509d8b0fb1d1df046f1a659f40ce086be4c7a