How to Install and Uninstall python2.7-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 22,2024

1. Install "python2.7-dev" package

This guide covers the steps necessary to install python2.7-dev on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "python2.7-dev" package

In this section, we are going to explain the necessary steps to uninstall python2.7-dev on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the python2.7-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python2.7-dev
Architecture: amd64
Version: 2.7.18-1~20.04.3
Multi-Arch: allowed
Priority: optional
Section: universe/python
Source: python2.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 300
Depends: python2.7 (= 2.7.18-1~20.04.3), libpython2.7-dev (= 2.7.18-1~20.04.3), libpython2.7 (= 2.7.18-1~20.04.3), libexpat1-dev
Recommends: libc6-dev | libc-dev
Replaces: python2.7 (<< 2.7-3)
Filename: pool/universe/p/python2.7/python2.7-dev_2.7.18-1~20.04.3_amd64.deb
Size: 292692
MD5sum: fae06cfa6c276df20d398b9e9d4dc95e
SHA1: fbea96714c4df161f347abada2f62605377c42bd
SHA256: e5d3cfbb3d37da855e344027f37c9d1243ee5d0e1a7c156428f8fd4c79705d03
SHA512: 1a3975ab1dbe880b4b7446b6563acf0f62868d7601f6db24ef15213726e368cdb63e07bd03c60461c01351b6ec487bd1a5ab5941db05afae06efbf7372d30e10
Description: Header files and a static library for Python (v2.7)
Description-md5: 0f13a410a5bbc68affef1492eee5d8e2

Package: python2.7-dev
Architecture: amd64
Version: 2.7.18~rc1-2
Multi-Arch: allowed
Priority: optional
Section: universe/python
Source: python2.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 294
Depends: python2.7 (= 2.7.18~rc1-2), libpython2.7-dev (= 2.7.18~rc1-2), libpython2.7 (= 2.7.18~rc1-2), libexpat1-dev
Recommends: libc6-dev | libc-dev
Replaces: python2.7 (<< 2.7-3)
Filename: pool/universe/p/python2.7/python2.7-dev_2.7.18~rc1-2_amd64.deb
Size: 287040
MD5sum: 0d6d40c67fbbcee741f4146c7631664c
SHA1: 5f38cd15f3417bd183b6a8305177d95c62a03c53
SHA256: 5a6505fc3340ec2c7cad02a8d258f1b78d9ed2e1be7da5e7a01cc0ada2b61265
Description: Header files and a static library for Python (v2.7)
Description-md5: 0f13a410a5bbc68affef1492eee5d8e2