How to Install and Uninstall python3-dev Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 12,2024

1. Install "python3-dev" package

Here is a brief guide to show you how to install python3-dev on Ubuntu 24.04 LTS (Noble Numbat)

$ 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 24.04 LTS (Noble Numbat):

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

3. Information about the python3-dev package on Ubuntu 24.04 LTS (Noble Numbat)

Package: python3-dev
Architecture: amd64
Version: 3.12.1-0ubuntu2
Built-Using: sphinx (= 7.2.6-4)
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: 151
Depends: python3 (= 3.12.1-0ubuntu2), libpython3-dev (= 3.12.1-0ubuntu2), python3.12-dev (>= 3.12.1-1~), python3-distutils (>= 3.11.5-1~), libjs-sphinxdoc (>= 7.2.2)
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.12.1-0ubuntu2_amd64.deb
Size: 26706
MD5sum: f1205e80f8394af40c888ae027be2de1
SHA1: aeab3f3d95c39c88f5131eeaf536043b10fd660e
SHA256: 5b24504bf71815d245c3dd2612221fe310a99c757b99845696e71a2d8f3df101
SHA512: c34f74f0a1606d57b097340b582a0d5ab8f94b0e5494c9f7a9cdf6a68dc1a091c96fe639878ea0e36073c1a5ad113dca326d0efecbaa7231468add8a70a5f787
Homepage: https://www.python.org/
Description: header files and a static library for Python (default)
Description-md5: a359e68937685e93e41abf59ea3b2332