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

Last updated: December 23,2024

1. Install "python3-dev" package

Here is a brief guide to show you how to install python3-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-dev

2. Uninstall "python3-dev" package

Please follow the steps below to uninstall python3-dev on Debian 12 (Bookworm):

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

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

Package: python3-dev
Source: python3-defaults (3.11.2-1)
Version: 3.11.2-1+b1
Installed-Size: 155
Maintainer: Matthias Klose
Architecture: amd64
Replaces: python3 (<< 3.9.2-1~), python3.1 (<< 3.1.2+20100706-3)
Depends: python3 (= 3.11.2-1+b1), libpython3-dev (= 3.11.2-1+b1), python3.11-dev (>= 3.11.2-1~), python3-distutils (>= 3.11.2-1~), libjs-sphinxdoc (>= 5.2)
Breaks: python3 (<< 3.9.2-1~)
Description: header files and a static library for Python (default)
Description-md5: 04db601abc7d2215dadcb1e181ac6256
Multi-Arch: allowed
Homepage: https://www.python.org/
Built-Using: sphinx (= 5.3.0-4)
Tag: devel::lang:python, devel::library, role::devel-lib, role::dummy
Section: python
Priority: optional
Filename: pool/main/p/python3-defaults/python3-dev_3.11.2-1+b1_amd64.deb
Size: 26180
MD5sum: 28f56e3a83ec872d225ad0f2c7087514
SHA256: 74c35488ce04fd9a371522d2ef3ef3a3d0ba585d5afcb4ce4ec9c6a531377518