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

Last updated: May 19,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 21.10 (Impish Indri)

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

2. Uninstall "libpython2.7-dev" package

This tutorial shows how to uninstall libpython2.7-dev on Ubuntu 21.10 (Impish Indri):

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

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

Package: libpython2.7-dev
Architecture: amd64
Version: 2.7.18-8build1
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: python2.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12263
Depends: libpython2.7-stdlib (= 2.7.18-8build1), libpython2.7 (= 2.7.18-8build1), 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/universe/p/python2.7/libpython2.7-dev_2.7.18-8build1_amd64.deb
Size: 2499664
MD5sum: 15299db9be5d7dd74b3689d03e9e9cbd
SHA1: e6a75db9daabf706c2923364f3b6c3a1aefb0c61
SHA256: cbf835a2e367da5c6fbbbff1c1ba3f67d3504528725a0ff970865940cb44cb34
SHA512: ce12aef3cf83ef59cd8a881421613140c7ab326e120ef90d8085003c6b095499b2a29b3ee614cf9c9a5af128fdca783e9c13888a3c38d29c167787bfde28f378
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