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

Last updated: November 05,2024

1. Install "libpython2.7" package

This tutorial shows how to install libpython2.7 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libpython2.7

2. Uninstall "libpython2.7" package

In this section, we are going to explain the necessary steps to uninstall libpython2.7 on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: libpython2.7
Architecture: amd64
Version: 2.7.18-6
Multi-Arch: same
Priority: optional
Section: universe/libs
Source: python2.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3389
Depends: libpython2.7-stdlib (= 2.7.18-6), libc6 (>= 2.33), zlib1g (>= 1:1.2.0)
Replaces: python2.7 (<< 2.6)
Filename: pool/universe/p/python2.7/libpython2.7_2.7.18-6_amd64.deb
Size: 1023040
MD5sum: 0d5a80cd4d931013c367c6e4a52801d3
SHA1: d54710f9de91fe500549262ffa4d7acd38b419e4
SHA256: db016c3d0dc7b8ca5264288fbd9957b8b19b2e9d742dcd6a0255a0145aac66d1
SHA512: c839a16f1446fc69a92b674d22f347a300405726fcc7c54d5d5d87af5f58b64a8a300a138aa082c74c5f0cf3d66c67908fd3070cf864809b84ce6df69d4c5cb7
Description-en: Shared Python runtime library (version 2.7)
Python is a high-level, interactive, object-oriented language. Its 2.7 version
includes an extensive class library with lots of goodies for
network programming, system administration, sounds and graphics.
.
This package contains the shared runtime library, normally not needed
for programs using the statically linked interpreter.
Description-md5: ca83a75c05dbdfe28eaeb1252ff614a4