How to Install and Uninstall libpython2.7-dev Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 07,2024

1. Install "libpython2.7-dev" package

This guide covers the steps necessary to install libpython2.7-dev on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "libpython2.7-dev" package

Please follow the instructions below to uninstall libpython2.7-dev on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libpython2.7-dev package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libpython2.7-dev
Architecture: amd64
Version: 2.7.17-1~18.04ubuntu1.8
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: 40517
Depends: libpython2.7-stdlib (= 2.7.17-1~18.04ubuntu1.8), libpython2.7 (= 2.7.17-1~18.04ubuntu1.8), 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.17-1~18.04ubuntu1.8_amd64.deb
Size: 28253344
MD5sum: 5a9bace6128008a44c2dc73f86e93e27
SHA1: d2c28149dd4b3f7ce25fb13062755a9c3186bc95
SHA256: ebd7c57e2da457bbaedd4e6a3b54a475b67d64b94927b39dee9763279da15fbc
SHA512: ef60cf0dc7b80669ad209420a73c1ac62f74ee45ff4177252384041b5c37420dd388467f2c76f83aac334315f43150776b0668c952de7ac1473cf82d050b98c4
Description: Header files and a static library for Python (v2.7)
Description-md5: 2ef5e0390998d9ab1872bc0f6b694ff7
Supported: 5y

Package: libpython2.7-dev
Architecture: amd64
Version: 2.7.15~rc1-1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: python2.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 40547
Depends: libpython2.7-stdlib (= 2.7.15~rc1-1), libpython2.7 (= 2.7.15~rc1-1), 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.15~rc1-1_amd64.deb
Size: 28249928
MD5sum: b949aea3054906309c5b225067b284d9
SHA1: f3a2907d1f208371430cfa114305dbf6cd6133cd
SHA256: 446e0dda0e694f73c90610c6884ca13e95246ce8a0859081c7e71d9c62562709
Description: Header files and a static library for Python (v2.7)
Description-md5: 2ef5e0390998d9ab1872bc0f6b694ff7
Supported: 5y