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

Last updated: November 07,2024

1. Install "python3" package

This guide covers the steps necessary to install python3 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3

2. Uninstall "python3" package

This guide let you learn how to uninstall python3 on Debian 12 (Bookworm):

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

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

Package: python3
Source: python3-defaults (3.11.2-1)
Version: 3.11.2-1+b1
Installed-Size: 81
Maintainer: Matthias Klose
Architecture: amd64
Replaces: python3-minimal (<< 3.1.2-2)
Provides: python3-profiler, python3-supported-max (= 3.11), python3-supported-min (= 3.11)
Depends: python3.11 (>= 3.11.2-1~), libpython3-stdlib (= 3.11.2-1+b1)
Pre-Depends: python3-minimal (= 3.11.2-1+b1)
Suggests: python3-doc (>= 3.11.2-1+b1), python3-tk (>= 3.11.2-1~), python3-venv (>= 3.11.2-1+b1)
Description: interactive high-level object-oriented language (default python3 version)
Description-md5: 7e57783fdb3703b27f408a029b7b786f
Multi-Arch: allowed
Homepage: https://www.python.org/
Tag: devel::interpreter, devel::lang:python, devel::library,
implemented-in::c, implemented-in::python, role::devel-lib,
role::program, role::shared-lib
Section: python
Priority: optional
Filename: pool/main/p/python3-defaults/python3_3.11.2-1+b1_amd64.deb
Size: 26300
MD5sum: 48ebc2dc2cb4fa44aaa2780f8141bbe1
SHA256: 33f6dafbd1a6902d9063172ec7dbd4b2225e12009e0d7ec5c933a72c2f5f3b74