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

Last updated: May 20,2024

1. Install "python-dev" package

This is a short guide on how to install python-dev on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python-dev

2. Uninstall "python-dev" package

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

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

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

Package: python-dev
Source: python-defaults
Version: 2.7.16-1
Installed-Size: 15
Maintainer: Matthias Klose
Architecture: amd64
Depends: python (= 2.7.16-1), libpython-dev (= 2.7.16-1), python2.7-dev (>= 2.7.16-1~), python2-dev (= 2.7.16-1)
Description: header files and a static library for Python2
Description-md5: 39e8987518a407d42638b3fc80fc84cd
Multi-Arch: allowed
Homepage: https://www.python.org/
Tag: devel::lang:python, devel::library, implemented-in::python,
role::devel-lib
Section: python
Priority: optional
Filename: pool/main/p/python-defaults/python-dev_2.7.16-1_amd64.deb
Size: 1192
MD5sum: 8678d02bb82175770ab94f044f4d4209
SHA256: 47c0a6843c479f4c94b9cfcf25872ca19997ff3c9bf880da1263e99759439c5a