How to Install and Uninstall python3-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 13,2024

1. Install "python3-dev" package

Please follow the step by step instructions below to install python3-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-dev

2. Uninstall "python3-dev" package

Please follow the step by step instructions below to uninstall python3-dev on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python3-dev package on Ubuntu 21.10 (Impish Indri)

Package: python3-dev
Architecture: amd64
Version: 3.9.4-1build1
Built-Using: sphinx (= 3.5.4-2)
Multi-Arch: allowed
Priority: optional
Section: python
Source: python3-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 144
Depends: python3 (= 3.9.4-1build1), libpython3-dev (= 3.9.4-1build1), python3.9-dev (>= 3.9.4-0~), python3-distutils (>= 3.9.4-0~), libjs-sphinxdoc (>= 2.4.3-5~)
Breaks: python3 (<< 3.9.2-1~)
Replaces: python3 (<< 3.9.2-1~), python3.1 (<< 3.1.2+20100706-3)
Filename: pool/main/p/python3-defaults/python3-dev_3.9.4-1build1_amd64.deb
Size: 25496
MD5sum: e07cb0c11e43baa0882a6f0728dba8c2
SHA1: 732dde125b8be7454982a8f9452c79116ebc0ad2
SHA256: 10c1f897c6195131bbb67e4b5f718fc9c7b5cd44ee98298c29d8ff70326f2885
SHA512: 4e74b682135f5cd4fb11fd2dc49cdf8cba234f2d51ba874f32b7db311564280e94a4d1b076f3ca765acf32e283da1b6900ddf08c1c5791a5d8914591c2ddb40d
Homepage: https://www.python.org/
Description-en: header files and a static library for Python (default)
Header files, a static library and development tools for building
Python modules, extending the Python interpreter or embedding Python
in applications.
.
This package is a dependency package, which depends on Debian's default
Python 3 version's headers (currently v3.9).
Description-md5: d9782896ae71bb7d40bb5fe1fbf99d44