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

Last updated: October 06,2024

1. Install "libpython3-dev" package

This guide covers the steps necessary to install libpython3-dev on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install libpython3-dev

2. Uninstall "libpython3-dev" package

Please follow the guidance below to uninstall libpython3-dev on Ubuntu 24.04 LTS (Noble Numbat):

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

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

Package: libpython3-dev
Architecture: amd64
Version: 3.12.1-0ubuntu2
Multi-Arch: same
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: 37
Depends: libpython3.12-dev (>= 3.12.1-1~)
Breaks: libpython3.8-dev (<< 3.8.0-2), python3-dev (<< 3.8.0-1)
Replaces: libpython3.8-dev (<< 3.8.0-2), python3-dev (<< 3.8.0-1)
Filename: pool/main/p/python3-defaults/libpython3-dev_3.12.1-0ubuntu2_amd64.deb
Size: 9998
MD5sum: cd7a36ee16c901aa1c9ff3777b27c3e5
SHA1: 08c42670cbeabd99944ad5448783f31fd9b05d9c
SHA256: 3fa53d6f86a893eaf2cf9f0a8ace339b1bb5b23cbb782812ce5136297804d3cc
SHA512: 87024dde57d08d4ab829b197c3f667910513dad7e015e8ad9699845b38a1df4675824362040c84f5b2216d118e1865647ac9093fb3ba6396d82911b6a80c242c
Homepage: https://www.python.org/
Description: header files and a static library for Python (default)
Description-md5: a359e68937685e93e41abf59ea3b2332