How to Install and Uninstall libpython-dev Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: April 29,2024

1. Install "libpython-dev" package

In this section, we are going to explain the necessary steps to install libpython-dev on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libpython-dev

2. Uninstall "libpython-dev" package

Please follow the guidelines below to uninstall libpython-dev on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libpython-dev package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libpython-dev
Architecture: amd64
Version: 2.7.12-1~16.04
Multi-Arch: same
Priority: optional
Section: python
Source: python-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 42
Depends: libpython2.7-dev (>= 2.7.12-1~)
Filename: pool/main/p/python-defaults/libpython-dev_2.7.12-1~16.04_amd64.deb
Size: 7840
MD5sum: 315667c301973ff0e9e9e91fbc3043d5
SHA1: 571144093429216d8550a5cda5ae745d6c9b0075
SHA256: 9beb8b1c8664e385f5d6d25d9d4848f4bff8655a08c9d5781a353125f5dc7f2e
SHA512: 8035b6fe1a05985bcf725690b140ba1da1364894035a75da214db0aeb7eac7ba7b4688ccea1f6984bda6166eef494aa93d010c8bef301e78456c471952f91523
Homepage: http://www.python.org/
Description-en: header files and a static library for Python (default)
Header files, a static library and development tools for building
Python modules, extending the Python interpreter or embedding Python
in applications.
.
This package is a dependency package, which depends on Debian's default
Python version (currently v2.7).
Description-md5: 93a1917c3f17606b40377d0b737c6c92
Supported: 5y

Package: libpython-dev
Priority: optional
Section: python
Installed-Size: 42
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Architecture: amd64
Source: python-defaults
Version: 2.7.11-1
Depends: libpython2.7-dev (>= 2.7.11-1~)
Filename: pool/main/p/python-defaults/libpython-dev_2.7.11-1_amd64.deb
Size: 7728
MD5sum: 27b5b2364088a2e4d49e00e0b50f75e1
SHA1: a0b27ec58851352b972ef5bba75970838c8f4f6a
SHA256: c88d35b6f78299625ea1369846172c43531edb760e2cf5f413d139b722c4e42a
Description-en: header files and a static library for Python (default)
Header files, a static library and development tools for building
Python modules, extending the Python interpreter or embedding Python
in applications.
.
This package is a dependency package, which depends on Debian's default
Python version (currently v2.7).
Description-md5: 93a1917c3f17606b40377d0b737c6c92
Multi-Arch: same
Homepage: http://www.python.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y