How to Install and Uninstall libpython3.9 Package on Debian 11 (Bullseye)

Last updated: May 14,2024

1. Install "libpython3.9" package

This tutorial shows how to install libpython3.9 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libpython3.9

2. Uninstall "libpython3.9" package

This tutorial shows how to uninstall libpython3.9 on Debian 11 (Bullseye):

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

3. Information about the libpython3.9 package on Debian 11 (Bullseye)

Package: libpython3.9
Source: python3.9
Version: 3.9.2-1
Installed-Size: 5598
Maintainer: Matthias Klose
Architecture: amd64
Depends: libpython3.9-stdlib (= 3.9.2-1), libc6 (>= 2.29), libexpat1 (>= 2.1~beta3), zlib1g (>= 1:1.2.0)
Description: Shared Python runtime library (version 3.9)
Description-md5: 7b9bb48e966302f718c6d5e603623c28
Multi-Arch: same
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/p/python3.9/libpython3.9_3.9.2-1_amd64.deb
Size: 1691056
MD5sum: bde3e0cbf869f04b9319cfaffc827dec
SHA256: 97647869e7e9db643a7eeab949b7d140f9a175814fcc94289be70d426aa5fd1a