How to Install and Uninstall python Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 23,2024

1. Install "python" package

Please follow the steps below to install python on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python

2. Uninstall "python" package

This guide let you learn how to uninstall python on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove python $ sudo apt autoclean && sudo apt autoremove

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

Package: python
Architecture: amd64
Version: 2.7.15~rc1-1
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: 624
Provides: python-ctypes, python-email, python-importlib, python-profiler, python-wsgiref
Pre-Depends: python-minimal (= 2.7.15~rc1-1)
Depends: python2.7 (>= 2.7.15~rc1-1~), libpython-stdlib (= 2.7.15~rc1-1)
Suggests: python-doc (= 2.7.15~rc1-1), python-tk (>= 2.7.15~rc1-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.15~rc1-1_amd64.deb
Size: 139968
MD5sum: a1a78eb8ba15cbb31d13be407f7b5f20
SHA1: a036e5b1d73383e892fa5526fe58b3932e922743
SHA256: 9be87952c519f94d24129911e03a24035ce47358cb528492f4a53b2e31efc6d4
Homepage: http://www.python.org/
Description: interactive high-level object-oriented language (default version)
Description-md5: d1ea97f755d8153fe116080f2352859b
Task: ubuntu-live, samba-server, kubuntu-desktop, kubuntu-full, xubuntu-desktop, lubuntu-live-share, lubuntu-live, lubuntu-qt-desktop, lubuntu-live-qt, lubuntu-live-gtk, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Cnf-Extra-Commands: python
Cnf-Priority-Bonus: 3
Supported: 5y