How to Install and Uninstall python2.7-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

1. Install "python2.7-dev" package

This guide covers the steps necessary to install python2.7-dev on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "python2.7-dev" package

This guide covers the steps necessary to uninstall python2.7-dev on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python2.7-dev package on Ubuntu 21.10 (Impish Indri)

Package: python2.7-dev
Architecture: amd64
Version: 2.7.18-8build1
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-8build1), libpython2.7-dev (= 2.7.18-8build1), libpython2.7 (= 2.7.18-8build1), 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-8build1_amd64.deb
Size: 286320
MD5sum: d372416246d87e93d8b503add8ab022e
SHA1: 6692a6cfa757d2d807b6a80968bf14f06f58426a
SHA256: f7d7eac938fe33f1889bbd9a75b61c8c5a480630bb162dfcf4707add8b243a63
SHA512: 700fc1795d299ce1dc8cfddf823d09c1b5c94a8658556d436c226b0d26f1c98dabbf5154cb17dc126bc94f7f6615dbc9542d66fabd502ca094c431373e5b3269
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