How to Install and Uninstall libpython3-dev Package on Debian 12 (Bookworm)

Last updated: May 17,2024

1. Install "libpython3-dev" package

Please follow the guidance below to install libpython3-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libpython3-dev

2. Uninstall "libpython3-dev" package

This tutorial shows how to uninstall libpython3-dev on Debian 12 (Bookworm):

$ sudo apt remove libpython3-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libpython3-dev package on Debian 12 (Bookworm)

Package: libpython3-dev
Source: python3-defaults (3.11.2-1)
Version: 3.11.2-1+b1
Installed-Size: 37
Maintainer: Matthias Klose
Architecture: amd64
Replaces: libpython3.8-dev (<< 3.8.0-2), python3-dev (<< 3.8.0-1)
Depends: libpython3.11-dev (>= 3.11.2-1~)
Breaks: libpython3.8-dev (<< 3.8.0-2), python3-dev (<< 3.8.0-1)
Description: header files and a static library for Python (default)
Description-md5: 04db601abc7d2215dadcb1e181ac6256
Multi-Arch: same
Homepage: https://www.python.org/
Section: python
Priority: optional
Filename: pool/main/p/python3-defaults/libpython3-dev_3.11.2-1+b1_amd64.deb
Size: 9572
MD5sum: bfbf2a8e56b24651ca59d6c5a66a0c8e
SHA256: ded769fd142b6a49f7f2eb9b27056a1340a96d99f7d96e5a0f449585d22c9602