How to Install and Uninstall python2-dev Package on Linux Mint 21 (Vanessa)

Last updated: May 16,2024

1. Install "python2-dev" package

This guide let you learn how to install python2-dev on Linux Mint 21 (Vanessa)

$ sudo apt update $ sudo apt install python2-dev

2. Uninstall "python2-dev" package

Please follow the step by step instructions below to uninstall python2-dev on Linux Mint 21 (Vanessa):

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

3. Information about the python2-dev package on Linux Mint 21 (Vanessa)

Package: python2-dev
Architecture: amd64
Version: 2.7.18-3
Multi-Arch: allowed
Priority: optional
Section: universe/python
Source: python-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 15
Depends: python2 (= 2.7.18-3), libpython2-dev (= 2.7.18-3), python2.7-dev (>= 2.7.18~)
Breaks: python-dev (<< 2.7.15-2)
Replaces: python-dev (<< 2.7.15-2)
Filename: pool/universe/p/python-defaults/python2-dev_2.7.18-3_amd64.deb
Size: 1064
MD5sum: 3e32428346a37cfa31af7d16a5897b50
SHA1: edbc7cadc23897e0042a3531eb1d7b9046fa16f1
SHA256: 407adc566a67cad11faf51096efabcd92f58b6995fd453becbc8270f3eb2b63a
SHA512: 899a9391fa27160f0586ca76eae099e715e250dcc2d12773f894574a174e8d4aa7e76b7cff4769ae4669c8c1f9d5e9b3a820fadfe418276cd3775ddaae343eb9
Homepage: https://www.python.org/
Description: header files and a static library for Python2
Description-md5: 39e8987518a407d42638b3fc80fc84cd