How to Install and Uninstall python Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: December 24,2024
1. Install "python" package
This is a short guide on how to install python on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
python
Copied
2. Uninstall "python" package
This tutorial shows how to uninstall python on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
python
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: python
Architecture: amd64
Version: 2.7.12-1~16.04
Multi-Arch: allowed
Priority: optional
Section: python
Source: python-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 635
Provides: python-ctypes, python-email, python-importlib, python-profiler, python-wsgiref
Pre-Depends: python-minimal (= 2.7.12-1~16.04)
Depends: python2.7 (>= 2.7.12-1~), libpython-stdlib (= 2.7.12-1~16.04)
Suggests: python-doc (= 2.7.12-1~16.04), python-tk (>= 2.7.12-1~)
Conflicts: python-central (<< 0.5.5)
Breaks: update-manager-core (<< 0.200.5-2)
Replaces: python-dev (<< 2.6.5-2)
Filename: pool/main/p/python-defaults/python_2.7.12-1~16.04_amd64.deb
Size: 136856
MD5sum: 4de21ffcc58c1b4955b352c112587a95
SHA1: 310cf9be4257d0964076fab4139facc398196c11
SHA256: ffab9ee2af828ff5e91687c8d035b096db72c2976aa6eb8bec01500d23df0106
SHA512: b0fd95a9b625c6ca9d2ba683302244f56ab448ddf7ca55ef8675ec1ac4f10d7bdd0f7f3d2b856d17b5d218ca41ac2570772e8a599186f35ec22f16dec58bdfa8
Homepage: http://www.python.org/
Description-en: interactive high-level object-oriented language (default version)
Python, the high-level, interactive object oriented language,
includes an extensive class library with lots of goodies for
network programming, system administration, sounds and graphics.
.
This package is a dependency package, which depends on Debian's default
Python version (currently v2.7).
Description-md5: d1ea97f755d8153fe116080f2352859b
Task: ubuntu-desktop, ubuntu-usb, dns-server, samba-server, kubuntu-desktop, kubuntu-full, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, lubuntu-core, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntustudio-fonts, ubuntu-gnome-desktop, ubuntu-sdk-libs-dev, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop
Supported: 5y
Package: python
Priority: optional
Section: python
Installed-Size: 635
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Architecture: amd64
Source: python-defaults
Version: 2.7.11-1
Replaces: python-dev (<< 2.6.5-2)
Provides: python-ctypes, python-email, python-importlib, python-profiler, python-wsgiref
Depends: python2.7 (>= 2.7.11-1~), libpython-stdlib (= 2.7.11-1)
Pre-Depends: python-minimal (= 2.7.11-1)
Suggests: python-doc (= 2.7.11-1), python-tk (>= 2.7.11-1~)
Conflicts: python-central (<< 0.5.5)
Breaks: update-manager-core (<< 0.200.5-2)
Filename: pool/main/p/python-defaults/python_2.7.11-1_amd64.deb
Size: 136892
MD5sum: af686bd03f39be3f3cd865d38b44f5bf
SHA1: eb433da2ec863602e32bbf5569ea4065bbc11e5c
SHA256: 5173de04244553455a287145e84535f377e20f0e28b3cec5a24c109e3fa3f088
Description-en: interactive high-level object-oriented language (default version)
Python, the high-level, interactive object oriented language,
includes an extensive class library with lots of goodies for
network programming, system administration, sounds and graphics.
.
This package is a dependency package, which depends on Debian's default
Python version (currently v2.7).
Description-md5: d1ea97f755d8153fe116080f2352859b
Multi-Arch: allowed
Homepage: http://www.python.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, dns-server, samba-server, kubuntu-desktop, kubuntu-full, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, lubuntu-core, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntustudio-fonts, ubuntu-gnome-desktop, ubuntu-sdk-libs-dev, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop
Architecture: amd64
Version: 2.7.12-1~16.04
Multi-Arch: allowed
Priority: optional
Section: python
Source: python-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 635
Provides: python-ctypes, python-email, python-importlib, python-profiler, python-wsgiref
Pre-Depends: python-minimal (= 2.7.12-1~16.04)
Depends: python2.7 (>= 2.7.12-1~), libpython-stdlib (= 2.7.12-1~16.04)
Suggests: python-doc (= 2.7.12-1~16.04), python-tk (>= 2.7.12-1~)
Conflicts: python-central (<< 0.5.5)
Breaks: update-manager-core (<< 0.200.5-2)
Replaces: python-dev (<< 2.6.5-2)
Filename: pool/main/p/python-defaults/python_2.7.12-1~16.04_amd64.deb
Size: 136856
MD5sum: 4de21ffcc58c1b4955b352c112587a95
SHA1: 310cf9be4257d0964076fab4139facc398196c11
SHA256: ffab9ee2af828ff5e91687c8d035b096db72c2976aa6eb8bec01500d23df0106
SHA512: b0fd95a9b625c6ca9d2ba683302244f56ab448ddf7ca55ef8675ec1ac4f10d7bdd0f7f3d2b856d17b5d218ca41ac2570772e8a599186f35ec22f16dec58bdfa8
Homepage: http://www.python.org/
Description-en: interactive high-level object-oriented language (default version)
Python, the high-level, interactive object oriented language,
includes an extensive class library with lots of goodies for
network programming, system administration, sounds and graphics.
.
This package is a dependency package, which depends on Debian's default
Python version (currently v2.7).
Description-md5: d1ea97f755d8153fe116080f2352859b
Task: ubuntu-desktop, ubuntu-usb, dns-server, samba-server, kubuntu-desktop, kubuntu-full, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, lubuntu-core, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntustudio-fonts, ubuntu-gnome-desktop, ubuntu-sdk-libs-dev, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop
Supported: 5y
Package: python
Priority: optional
Section: python
Installed-Size: 635
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Architecture: amd64
Source: python-defaults
Version: 2.7.11-1
Replaces: python-dev (<< 2.6.5-2)
Provides: python-ctypes, python-email, python-importlib, python-profiler, python-wsgiref
Depends: python2.7 (>= 2.7.11-1~), libpython-stdlib (= 2.7.11-1)
Pre-Depends: python-minimal (= 2.7.11-1)
Suggests: python-doc (= 2.7.11-1), python-tk (>= 2.7.11-1~)
Conflicts: python-central (<< 0.5.5)
Breaks: update-manager-core (<< 0.200.5-2)
Filename: pool/main/p/python-defaults/python_2.7.11-1_amd64.deb
Size: 136892
MD5sum: af686bd03f39be3f3cd865d38b44f5bf
SHA1: eb433da2ec863602e32bbf5569ea4065bbc11e5c
SHA256: 5173de04244553455a287145e84535f377e20f0e28b3cec5a24c109e3fa3f088
Description-en: interactive high-level object-oriented language (default version)
Python, the high-level, interactive object oriented language,
includes an extensive class library with lots of goodies for
network programming, system administration, sounds and graphics.
.
This package is a dependency package, which depends on Debian's default
Python version (currently v2.7).
Description-md5: d1ea97f755d8153fe116080f2352859b
Multi-Arch: allowed
Homepage: http://www.python.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, dns-server, samba-server, kubuntu-desktop, kubuntu-full, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, lubuntu-core, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntustudio-fonts, ubuntu-gnome-desktop, ubuntu-sdk-libs-dev, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop