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

Last updated: May 18,2024

1. Install "libpython2.7-stdlib" package

Please follow the steps below to install libpython2.7-stdlib on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "libpython2.7-stdlib" package

This is a short guide on how to uninstall libpython2.7-stdlib on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: libpython2.7-stdlib
Architecture: amd64
Version: 2.7.18-6
Multi-Arch: same
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: 8848
Provides: python-argparse, python2.7-argparse, python2.7-celementtree, python2.7-cjkcodecs, python2.7-ctypes, python2.7-elementtree, python2.7-profiler, python2.7-wsgiref
Depends: libpython2.7-minimal (= 2.7.18-6), libssl1.1 (>= 1.1.1), mime-support, libbz2-1.0, libc6 (>= 2.33), libcrypt1 (>= 1:4.1.0), libdb5.3, libexpat1 (>= 2.1~beta3), libffi8ubuntu1 (>= 3.4~20200819), libncursesw6 (>= 6), libnsl2 (>= 1.0), libreadline8 (>= 7.0~beta), libsqlite3-0 (>= 3.5.9), libtinfo6 (>= 6), libtirpc3 (>= 1.0.2)
Breaks: python-urllib3 (<< 1.9.1-3)
Replaces: libpython2.7-testsuite (<< 2.7.13-4), python2.7 (<< 2.7.5-0~)
Filename: pool/universe/p/python2.7/libpython2.7-stdlib_2.7.18-6_amd64.deb
Size: 1867468
MD5sum: d0d524c54a88a1f35ea78243b4b570d0
SHA1: 7216ae79a5477292e43c032d477b2f4808408bb6
SHA256: b26e5365fd8ba7f3a0f57ff9848c985406ea3f132f848e887a5e805f0a4f0f8e
SHA512: 5c2962593ef1dfd66b14cd0fb6460b357a07b68faf2ec13e3710917e78afaee1ce587c0c028d9e6dd516895d209e86fa337bdf6e979b2544b6e0816a0ef3a921
Description-en: Interactive high-level object-oriented language (standard 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 Python 2.7's standard library. It is normally not
used on its own, but as a dependency of python2.7.
Description-md5: f4f7d2df11420ed1433b778b1a144502