How to Install and Uninstall libpython2.7-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 22,2024

1. Install "libpython2.7-dev" package

This is a short guide on how to install libpython2.7-dev on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "libpython2.7-dev" package

This guide let you learn how to uninstall libpython2.7-dev on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libpython2.7-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: libpython2.7-dev
Architecture: amd64
Version: 2.7.18-6
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: 12981
Depends: libpython2.7-stdlib (= 2.7.18-6), libpython2.7 (= 2.7.18-6), 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-6_amd64.deb
Size: 2357300
MD5sum: 299351cdf935e18cb8e02aba43be5a8d
SHA1: a127e0be57fa52d7da74440942748c62225d219a
SHA256: b5c27903b0782be0e1c3dd720f73e47cefab809ae3c772c4fa5c176428a88c6f
SHA512: 9d4f60218025360ce8987e1583ef4219b65721d93663ead30b82eb17e5203c9271ab66d403659108b8aa152c77c5c06f7dd8a72dcdcc3e7a17b8f8a96975d4f2
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