How to Install and Uninstall libpython2.7 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 22,2024

1. Install "libpython2.7" package

Please follow the instructions below to install libpython2.7 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libpython2.7

2. Uninstall "libpython2.7" package

This tutorial shows how to uninstall libpython2.7 on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libpython2.7 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libpython2.7
Architecture: amd64
Version: 2.7.12-1ubuntu0~16.04.18
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: 3553
Depends: libpython2.7-stdlib (= 2.7.12-1ubuntu0~16.04.18), libc6 (>= 2.15), zlib1g (>= 1:1.2.0)
Replaces: python2.7 (<< 2.6)
Filename: pool/main/p/python2.7/libpython2.7_2.7.12-1ubuntu0~16.04.18_amd64.deb
Size: 1070214
MD5sum: 9d8a2f64bb70b3486c885b5e92250d51
SHA1: 7ae683e6ee20877de4acf057f51ee3d16045da3a
SHA256: 82fcb0dfef68e232f6b529866669ae3d69a3c042b6c0823bd1dd2c23363b41bd
SHA512: e24827bac713240d7d8467fa3d57f70207c1c7ae76871974926352ce86fd6f126ed784e3a59563502a0904bfffb08b2cc59a9785bf0a4121c3fa40b32696e3f6
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
Task: ubuntu-desktop, ubuntu-usb, samba-server, kubuntu-desktop, kubuntu-full, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, lubuntu-core, ubuntustudio-desktop, ubuntu-gnome-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop
Supported: 5y

Package: libpython2.7
Priority: optional
Section: libs
Installed-Size: 3549
Maintainer: Ubuntu Core Developers
Original-Maintainer: Matthias Klose
Architecture: amd64
Source: python2.7
Version: 2.7.11-7ubuntu1
Replaces: python2.7 (<< 2.6)
Depends: libpython2.7-stdlib (= 2.7.11-7ubuntu1), libc6 (>= 2.15), zlib1g (>= 1:1.2.0)
Filename: pool/main/p/python2.7/libpython2.7_2.7.11-7ubuntu1_amd64.deb
Size: 1069034
MD5sum: 78ac1265c11718ef08f3bf4737e9323a
SHA1: c39941ec614e9485f5ae94192f6b62e57aa2abd7
SHA256: f08a0e7796bbb46bc3863cdbe8caeaab749ddca2ddc8d1a68ad64447e6e33de5
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
Multi-Arch: same
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, samba-server, kubuntu-desktop, kubuntu-full, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, lubuntu-core, ubuntustudio-desktop, ubuntu-gnome-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop