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

Last updated: November 22,2024

1. Install "python2.7-dev" package

Please follow the steps below to install python2.7-dev on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "python2.7-dev" package

This is a short guide on how to uninstall python2.7-dev on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python2.7-dev
Architecture: amd64
Version: 2.7.12-1ubuntu0~16.04.18
Multi-Arch: allowed
Priority: optional
Section: python
Source: python2.7
Origin: Ubuntu
Maintainer: Ubuntu Core Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 284
Depends: python2.7 (= 2.7.12-1ubuntu0~16.04.18), libpython2.7-dev (= 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)
Filename: pool/main/p/python2.7/python2.7-dev_2.7.12-1ubuntu0~16.04.18_amd64.deb
Size: 276086
MD5sum: 8b338a63d5d9513ab6e55a7d2f7e92e0
SHA1: 37237312c9b54408d275e924107df79f56df66ac
SHA256: 209490d2b14ff567c750ec56bfb1c4c33fc57a4c534a95701995858e8780993e
SHA512: f19a0d899c2fbac3227520d1193e4fc499a0eeaaf58f9b032eaa217ba8dd4bc36bd90cdfe6447dd52c0b8b5fb80527a10409de7990ac8e012782bfc199389bad
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.
Description-md5: 0f13a410a5bbc68affef1492eee5d8e2
Supported: 5y

Package: python2.7-dev
Priority: optional
Section: python
Installed-Size: 288
Maintainer: Ubuntu Core Developers
Original-Maintainer: Matthias Klose
Architecture: amd64
Source: python2.7
Version: 2.7.11-7ubuntu1
Replaces: python2.7 (<< 2.7-3)
Depends: python2.7 (= 2.7.11-7ubuntu1), libpython2.7-dev (= 2.7.11-7ubuntu1), libpython2.7 (= 2.7.11-7ubuntu1), libexpat1-dev
Recommends: libc6-dev | libc-dev
Filename: pool/main/p/python2.7/python2.7-dev_2.7.11-7ubuntu1_amd64.deb
Size: 280094
MD5sum: 96e79122313f68a7e23daa6a4362cd19
SHA1: 16e32ce823e1a9dcb3f5f0dee75ac07a4ed3400e
SHA256: 8ec00370d7af803cd9c5dfc2604e4c2ef8884c43b3df4b6d5d6967fa495de008
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.
Description-md5: 0f13a410a5bbc68affef1492eee5d8e2
Multi-Arch: allowed
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y