How to Install and Uninstall python3 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: March 28,2024

1. Install "python3" package

This guide let you learn how to install python3 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python3

2. Uninstall "python3" package

Please follow the steps below to uninstall python3 on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove python3 $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python3
Architecture: amd64
Version: 3.8.2-0ubuntu2
Multi-Arch: allowed
Priority: important
Section: python
Source: python3-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 189
Provides: python3-profiler
Pre-Depends: python3-minimal (= 3.8.2-0ubuntu2)
Depends: python3.8 (>= 3.8.2-1~), libpython3-stdlib (= 3.8.2-0ubuntu2)
Suggests: python3-doc (>= 3.8.2-0ubuntu2), python3-tk (>= 3.8.2-1~), python3-venv (>= 3.8.2-0ubuntu2)
Replaces: python3-minimal (<< 3.1.2-2)
Filename: pool/main/p/python3-defaults/python3_3.8.2-0ubuntu2_amd64.deb
Size: 47616
MD5sum: 50e6cb1926f77922dffb0f3c991b2b78
SHA1: e9f964690d137093baf10b0ad89e38e80451b8ca
SHA256: 85ca3a12be8b86c5d51b2d65f52dd98660c249761f7f0f073fd7010d82699364
Homepage: https://www.python.org/
Description: interactive high-level object-oriented language (default python3 version)
Description-md5: 6c1cceeeaa25414388fa2227c3a214fe
Task: minimal, ubuntu-core