How to Install and Uninstall python3-dev Package on Debian 11 (Bullseye)

Last updated: May 09,2024

1. Install "python3-dev" package

Please follow the guidelines below to install python3-dev on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install python3-dev

2. Uninstall "python3-dev" package

Please follow the guidance below to uninstall python3-dev on Debian 11 (Bullseye):

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

3. Information about the python3-dev package on Debian 11 (Bullseye)

Package: python3-dev
Source: python3-defaults
Version: 3.9.2-3
Installed-Size: 144
Maintainer: Matthias Klose
Architecture: amd64
Replaces: python3 (<< 3.9.2-1~), python3.1 (<< 3.1.2+20100706-3)
Depends: python3 (= 3.9.2-3), libpython3-dev (= 3.9.2-3), python3.9-dev (>= 3.9.2-0~), python3-distutils (>= 3.9.2-0~), libjs-sphinxdoc (>= 2.4.3-5~)
Breaks: python3 (<< 3.9.2-1~)
Description: header files and a static library for Python (default)
Description-md5: d9782896ae71bb7d40bb5fe1fbf99d44
Multi-Arch: allowed
Homepage: https://www.python.org/
Built-Using: sphinx (= 3.4.3-2)
Tag: devel::lang:python, devel::library, role::devel-lib, role::dummy
Section: python
Priority: optional
Filename: pool/main/p/python3-defaults/python3-dev_3.9.2-3_amd64.deb
Size: 24824
MD5sum: 77ba281532ade084dc6a0971e1cbdfad
SHA256: d378f376dd8443b35198326cc875fa93d541b61ef4ae29354c65ac6fe05da485