How to Install and Uninstall libpython2-dev Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 04,2024

1. Install "libpython2-dev" package

This guide let you learn how to install libpython2-dev on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install libpython2-dev

2. Uninstall "libpython2-dev" package

Here is a brief guide to show you how to uninstall libpython2-dev on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the libpython2-dev package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: libpython2-dev
Architecture: amd64
Version: 2.7.18-3
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: python-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43
Depends: libpython2.7-dev (>= 2.7.18~)
Breaks: libpython-dev (<< 2.7.15-2)
Replaces: libpython-dev (<< 2.7.15-2)
Filename: pool/universe/p/python-defaults/libpython2-dev_2.7.18-3_amd64.deb
Size: 7512
MD5sum: 71404d97103e050f015b28b1f41e2ca3
SHA1: 49229d8cf8eb02aa3b25ac6b177fca9f89ede95b
SHA256: 93064e3c855ff1b8fd703c08528ec6327c843b3db5e14772bc35201de53240ce
SHA512: 7f49d94beb51b6cc76cc8415f15e7092a3080bcae9d1b5cc9e4800c1ebd0a183e0021fca5a65c5866d5c3b2c065b533e14fe0e543deb7b44f3dafc58347cc059
Homepage: https://www.python.org/
Description: header files and a static library for Python2
Description-md5: 39e8987518a407d42638b3fc80fc84cd