How to Install and Uninstall python2-dev Package on Kali Linux

Last updated: May 18,2024

1. Install "python2-dev" package

Please follow the guidance below to install python2-dev on Kali Linux

$ sudo apt update $ sudo apt install python2-dev

2. Uninstall "python2-dev" package

This tutorial shows how to uninstall python2-dev on Kali Linux:

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

3. Information about the python2-dev package on Kali Linux

Package: python2-dev
Source: python-defaults
Version: 2.7.18-3
Installed-Size: 15
Maintainer: Matthias Klose
Architecture: amd64
Replaces: python-dev (<< 2.7.15-2)
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)
Size: 1216
SHA256: 57d06ee185406d1f12c22001c6c79a013f7290fe49dcdc381ffaa4b49489d2bd
SHA1: c3cff876100f74638183d2bc3d1605305899c3b3
MD5sum: 653eaa91e7337b7d8ecbd8eab362c87f
Description: header files and a static library for Python2
Header files, a static library and development tools for building
Python2 modules, extending the Python2 interpreter or embedding Python2
in applications.
.
This package is a dependency package, which depends on Debian's Python2
version (currently v2.7).
Description-md5:
Multi-Arch: allowed
Homepage: https://www.python.org/
Section: python
Priority: optional
Filename: pool/main/p/python-defaults/python2-dev_2.7.18-3_amd64.deb