How to Install and Uninstall python Package on Debian 10 (Buster)

Last updated: May 10,2024

1. Install "python" package

Please follow the steps below to install python on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python

2. Uninstall "python" package

This tutorial shows how to uninstall python on Debian 10 (Buster):

$ sudo apt remove python $ sudo apt autoclean && sudo apt autoremove

3. Information about the python package on Debian 10 (Buster)

Package: python
Source: python-defaults
Version: 2.7.16-1
Installed-Size: 68
Maintainer: Matthias Klose
Architecture: amd64
Replaces: python-dev (<< 2.6.5-2)
Provides: python-ctypes, python-email, python-importlib, python-profiler, python-wsgiref
Depends: python2.7 (>= 2.7.16-1~), libpython-stdlib (= 2.7.16-1), python2 (= 2.7.16-1)
Pre-Depends: python-minimal (= 2.7.16-1)
Suggests: python-doc (= 2.7.16-1), python-tk (>= 2.7.16-1~)
Conflicts: python-central (<< 0.5.5)
Breaks: update-manager-core (<< 0.200.5-2)
Description: interactive high-level object-oriented language (Python2 version)
Description-md5: 8a23c719c291789e6e4e8971b03680c5
Multi-Arch: allowed
Homepage: https://www.python.org/
Cnf-Extra-Commands: python
Cnf-Priority-Bonus: 3
Tag: devel::interpreter, devel::lang:python, implemented-in::c,
implemented-in::python, interface::commandline, role::metapackage,
role::program, scope::utility
Section: python
Priority: standard
Filename: pool/main/p/python-defaults/python_2.7.16-1_amd64.deb
Size: 22840
MD5sum: 1a7cf40ec2cb4b82c19e494f80039d1c
SHA256: 10b7416134f75b6b49afae4fc6d07c5e061509bedb1ec413747407b234564a0d