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

Last updated: April 16,2024

1. Install "libpython-dev" package

Here is a brief guide to show you how to install libpython-dev on Debian 10 (Buster)

$ sudo apt update $ sudo apt install libpython-dev

2. Uninstall "libpython-dev" package

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

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

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

Package: libpython-dev
Source: python-defaults
Version: 2.7.16-1
Installed-Size: 43
Maintainer: Matthias Klose
Architecture: amd64
Depends: libpython2.7-dev (>= 2.7.16-1~), libpython2-dev (= 2.7.16-1)
Description: header files and a static library for Python2
Description-md5: 39e8987518a407d42638b3fc80fc84cd
Multi-Arch: same
Homepage: https://www.python.org/
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/p/python-defaults/libpython-dev_2.7.16-1_amd64.deb
Size: 20892
MD5sum: d1e40793439ae1e7603840f120e097f4
SHA256: f52ccc0a85e67a1cc17aff5fcefc82b27f63a47ead938912e3154889c765eb10