How to Install and Uninstall libpython-dev Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: April 29,2024

1. Install "libpython-dev" package

Here is a brief guide to show you how to install libpython-dev on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libpython-dev

2. Uninstall "libpython-dev" package

This guide let you learn how to uninstall libpython-dev on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libpython-dev package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libpython-dev
Architecture: amd64
Version: 2.7.15~rc1-1
Multi-Arch: same
Priority: optional
Section: python
Source: python-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 42
Depends: libpython2.7-dev (>= 2.7.15~rc1-1~)
Filename: pool/main/p/python-defaults/libpython-dev_2.7.15~rc1-1_amd64.deb
Size: 7684
MD5sum: f393c5eea89a7feee8f43cf161b57395
SHA1: 7028838b50147206b1832dd5d6122ed137effc80
SHA256: 0d0b1e86da5fe125ad7400d4be0cea0b1751d98064f58323f557e1f53c6a043a
Homepage: http://www.python.org/
Description: header files and a static library for Python (default)
Description-md5: 93a1917c3f17606b40377d0b737c6c92
Supported: 5y