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

Last updated: December 23,2024

1. Install "libpython2-dev" package

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

$ sudo apt update $ sudo apt install libpython2-dev

2. Uninstall "libpython2-dev" package

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

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

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

Package: libpython2-dev
Source: python-defaults
Version: 2.7.16-1
Installed-Size: 43
Maintainer: Matthias Klose
Architecture: amd64
Replaces: libpython-dev (<< 2.7.15-2)
Depends: libpython2.7-dev (>= 2.7.16-1~)
Breaks: libpython-dev (<< 2.7.15-2)
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/libpython2-dev_2.7.16-1_amd64.deb
Size: 20920
MD5sum: 638683bb3e6739d610db3105bf6964d1
SHA256: 67ef742bbef38acafe6a64a6b46cc6ad32575568a3788ad2b57726c38eac0cd1