How to Install and Uninstall python3.12 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 24,2024

1. Install "python3.12" package

Please follow the step by step instructions below to install python3.12 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install python3.12

2. Uninstall "python3.12" package

This is a short guide on how to uninstall python3.12 on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the python3.12 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: python3.12
Architecture: amd64
Version: 3.12.2-1
Multi-Arch: allowed
Priority: optional
Section: python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 729
Depends: python3.12-minimal (= 3.12.2-1), libpython3.12-stdlib (= 3.12.2-1), media-types | mime-support, tzdata
Recommends: ca-certificates
Suggests: python3.12-venv, python3.12-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/main/p/python3.12/python3.12_3.12.2-1_amd64.deb
Size: 644558
MD5sum: f998c3dac4bad3865a0af79cc29cb15b
SHA1: 0564313140cac574c2542f3037ea70c8641393e5
SHA256: e1029d14518c4f6bbc0bc2f98e7789238146be47d0df6b0c2b5c4fc7d5347283
SHA512: 7e57eb8cb562e93af4e02e0d03e0ea0fbbc88039715b944cf9102005dc718ae37d9c97a277bf0272d375be98c7f581415497d20fa7f4e3b9099bd141a665a38f
Description: Interactive high-level object-oriented language (version 3.12)
Description-md5: af6e3d533670d7c2547d79718a4e35f4
Task: cloud-minimal, minimal, server-minimal