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

Last updated: April 29,2024

1. Install "python3.9" package

Please follow the step by step instructions below to install python3.9 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python3.9

2. Uninstall "python3.9" package

Please follow the step by step instructions below to uninstall python3.9 on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: python3.9
Architecture: amd64
Version: 3.9.5-3ubuntu0~20.04.1
Multi-Arch: allowed
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Core Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 547
Depends: python3.9-minimal (= 3.9.5-3ubuntu0~20.04.1), libpython3.9-stdlib (= 3.9.5-3ubuntu0~20.04.1), media-types | mime-support
Suggests: python3.9-venv, python3.9-doc, binutils
Breaks: python3-all (<< 3.6.5~rc1-1), python3-dev (<< 3.6.5~rc1-1), python3-venv (<< 3.6.5-2)
Filename: pool/universe/p/python3.9/python3.9_3.9.5-3ubuntu0~20.04.1_amd64.deb
Size: 423256
MD5sum: b5b957e5451bef1c660aa18b41ad5f3b
SHA1: c1522b562a9688c118560f5ed2e1490ae526f514
SHA256: 4c8d55643b353284a783a90b3cd091beb6608523716cd96dacc4713de598e899
SHA512: c444809b6ba3481f4adf76030a5ed6bf05e9c95c2121da11abd860919a2b0ca85ecb18f21a56022c877ab42ce1ec2e5e80e2fa6a671a1ceedb030a5b53dfa587
Description: Interactive high-level object-oriented language (version 3.9)
Description-md5: a49d415b9295004c3b3859dbe6873c2d