How to Install and Uninstall python3.11 Package on Debian 12 (Bookworm)

Last updated: November 23,2024

1. Install "python3.11" package

This tutorial shows how to install python3.11 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3.11

2. Uninstall "python3.11" package

Please follow the guidelines below to uninstall python3.11 on Debian 12 (Bookworm):

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

3. Information about the python3.11 package on Debian 12 (Bookworm)

Package: python3.11
Version: 3.11.2-6
Installed-Size: 648
Maintainer: Matthias Klose
Architecture: amd64
Depends: python3.11-minimal (= 3.11.2-6), libpython3.11-stdlib (= 3.11.2-6), media-types | mime-support
Recommends: ca-certificates
Suggests: python3.11-venv, python3.11-doc, binutils
Breaks: python3-all (<< 3.6.5~rc1-1), python3-dev (<< 3.6.5~rc1-1), python3-venv (<< 3.6.5-2)
Description: Interactive high-level object-oriented language (version 3.11)
Description-md5: 01042efeb48131a16be91f2eae5e8322
Multi-Arch: allowed
Section: python
Priority: optional
Filename: pool/main/p/python3.11/python3.11_3.11.2-6_amd64.deb
Size: 572416
MD5sum: eb003e0410ccd5d285a69236294065d9
SHA256: 9d1d4ba9ac38a7ae48567bfbd0bec88e02a5ccd941a48a76709a131197ea6570