How to Install and Uninstall libpython2.7 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 22,2024

1. Install "libpython2.7" package

In this section, we are going to explain the necessary steps to install libpython2.7 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libpython2.7

2. Uninstall "libpython2.7" package

This guide covers the steps necessary to uninstall libpython2.7 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libpython2.7 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libpython2.7
Architecture: amd64
Version: 2.7.17-1~18.04ubuntu1.8
Multi-Arch: same
Priority: optional
Section: libs
Source: python2.7
Origin: Ubuntu
Maintainer: Ubuntu Core Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3485
Depends: libpython2.7-stdlib (= 2.7.17-1~18.04ubuntu1.8), libc6 (>= 2.15), zlib1g (>= 1:1.2.0)
Replaces: python2.7 (<< 2.6)
Filename: pool/main/p/python2.7/libpython2.7_2.7.17-1~18.04ubuntu1.8_amd64.deb
Size: 1053888
MD5sum: a8b2e6fb236905dd45164e1a6d646038
SHA1: 22cfb6e4747080827750f965a9a1c6dda8408b91
SHA256: f198218d79a75243ae828c5f5e850760ed305556d0ac38d945b0310248124cb9
SHA512: 20cc4fe92831763fd903bf72de25367c51359aecd891ac71a2a84ef080da384bffe7194c139811ebbf1092c3874b6ed6585ea61061f31dbf5c4a5512298b9b9b
Description: Shared Python runtime library (version 2.7)
Description-md5: ca83a75c05dbdfe28eaeb1252ff614a4
Task: ubuntu-desktop, samba-server, kubuntu-desktop, kubuntu-full, xubuntu-desktop, lubuntu-live-share, lubuntu-desktop-share, lubuntu-gtk-desktop, lubuntu-desktop, lubuntu-live, lubuntu-qt-desktop, lubuntu-live-qt, lubuntu-live-gtk, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Supported: 5y

Package: libpython2.7
Architecture: amd64
Version: 2.7.15~rc1-1
Multi-Arch: same
Priority: optional
Section: libs
Source: python2.7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3485
Depends: libpython2.7-stdlib (= 2.7.15~rc1-1), libc6 (>= 2.15), zlib1g (>= 1:1.2.0)
Replaces: python2.7 (<< 2.6)
Filename: pool/main/p/python2.7/libpython2.7_2.7.15~rc1-1_amd64.deb
Size: 1052684
MD5sum: 1da9860d179f15f3b5ed40b2a7bed8a2
SHA1: 71002ff68ec3be3beb7af3a7ff780a9c2a990023
SHA256: ed75fc8db56f9c63bf0646f1d8263f8f2f4a777d5872d7c6e8178ba73f8e1f36
Description: Shared Python runtime library (version 2.7)
Description-md5: ca83a75c05dbdfe28eaeb1252ff614a4
Task: ubuntu-desktop, samba-server, kubuntu-desktop, kubuntu-full, xubuntu-desktop, lubuntu-live-share, lubuntu-desktop-share, lubuntu-gtk-desktop, lubuntu-desktop, lubuntu-live, lubuntu-qt-desktop, lubuntu-live-qt, lubuntu-live-gtk, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Supported: 5y