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

Last updated: December 27,2024

1. Install "python2-dev" package

This guide let you learn how to install python2-dev on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python2-dev

2. Uninstall "python2-dev" package

This tutorial shows how to uninstall python2-dev on Debian 10 (Buster):

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

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

Package: python2-dev
Source: python-defaults
Version: 2.7.16-1
Installed-Size: 15
Maintainer: Matthias Klose
Architecture: amd64
Replaces: python-dev (<< 2.7.15-2)
Depends: python2 (= 2.7.16-1), libpython2-dev (= 2.7.16-1), python2.7-dev (>= 2.7.16-1~)
Breaks: python-dev (<< 2.7.15-2)
Description: header files and a static library for Python2
Description-md5: 39e8987518a407d42638b3fc80fc84cd
Multi-Arch: allowed
Homepage: https://www.python.org/
Section: python
Priority: optional
Filename: pool/main/p/python-defaults/python2-dev_2.7.16-1_amd64.deb
Size: 1212
MD5sum: a19553e11ffcdc9fffd4ff2ff110edf2
SHA256: 1fc06a982ba81bdde60e74a203d48c2e730e077ae6f8ba46937d365d2ad72a32