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

Last updated: May 17,2024

1. Install "libpython2.7-dev" package

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

$ sudo apt update $ sudo apt install libpython2.7-dev

2. Uninstall "libpython2.7-dev" package

Learn how to uninstall libpython2.7-dev on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: libpython2.7-dev
Architecture: amd64
Version: 2.7.12-1ubuntu0~16.04.18
Multi-Arch: same
Priority: optional
Section: libdevel
Source: python2.7
Origin: Ubuntu
Maintainer: Ubuntu Core Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 39882
Depends: libpython2.7-stdlib (= 2.7.12-1ubuntu0~16.04.18), libpython2.7 (= 2.7.12-1ubuntu0~16.04.18), libexpat1-dev
Recommends: libc6-dev | libc-dev
Replaces: python2.7 (<< 2.7-3), python2.7-dev (<< 2.7.3-10), python2.7-minimal (<< 2.7.3-10)
Filename: pool/main/p/python2.7/libpython2.7-dev_2.7.12-1ubuntu0~16.04.18_amd64.deb
Size: 27812946
MD5sum: 1b543838bbc9d98437deca7330a122ff
SHA1: c9a1c4df7050185a4166cb8d90391fba37c4ba0f
SHA256: 7e220023dbf3eccc06ced5ec78cbe376dd099d8244a8078fb7e6bdf440e6fcc8
SHA512: e6c62fcaa7be76db6d78a23e7e74e63eaf582214a98e052dfdd553450dc049b78eb7416e70c2f554eec2e5cca68e9ffcb6d657f7676c12f4da16d60a5db2a78b
Description-en: Header files and a static library for Python (v2.7)
Header files, a static library and development tools for building
Python (v2.7) modules, extending the Python interpreter or embedding
Python (v2.7) in applications.
.
Maintainers of Python packages should read README.maintainers.
.
This package contains development files. It is normally not
used on it's own, but as a dependency of python2.7-dev.
Description-md5: 2ef5e0390998d9ab1872bc0f6b694ff7
Supported: 5y

Package: libpython2.7-dev
Priority: optional
Section: libdevel
Installed-Size: 39842
Maintainer: Ubuntu Core Developers
Original-Maintainer: Matthias Klose
Architecture: amd64
Source: python2.7
Version: 2.7.11-7ubuntu1
Replaces: python2.7 (<< 2.7-3), python2.7-dev (<< 2.7.3-10), python2.7-minimal (<< 2.7.3-10)
Depends: libpython2.7-stdlib (= 2.7.11-7ubuntu1), libpython2.7 (= 2.7.11-7ubuntu1), libexpat1-dev
Recommends: libc6-dev | libc-dev
Filename: pool/main/p/python2.7/libpython2.7-dev_2.7.11-7ubuntu1_amd64.deb
Size: 27761506
MD5sum: 8e9be3b63291bbb5cc3360507d1048d5
SHA1: 013cf4a9bf62befb0fc8c650ea25a5e5546365e3
SHA256: 8fc5c8039ca734fdbf930ca90ed6c9a84226e655e3dd8eac88f3b1c6df97d8ce
Description-en: Header files and a static library for Python (v2.7)
Header files, a static library and development tools for building
Python (v2.7) modules, extending the Python interpreter or embedding
Python (v2.7) in applications.
.
Maintainers of Python packages should read README.maintainers.
.
This package contains development files. It is normally not
used on it's own, but as a dependency of python2.7-dev.
Description-md5: 2ef5e0390998d9ab1872bc0f6b694ff7
Multi-Arch: same
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y