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

Last updated: May 20,2024

1. Install "python-apt" package

This guide covers the steps necessary to install python-apt on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python-apt

2. Uninstall "python-apt" package

Here is a brief guide to show you how to uninstall python-apt on Debian 10 (Buster):

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

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

Package: python-apt
Version: 1.8.4.3
Installed-Size: 699
Maintainer: APT Development Team
Architecture: amd64
Provides: python2.7-apt
Depends: python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7~), libapt-inst2.0 (>= 1.7~alpha2ubuntu1~), libapt-pkg5.0 (>= 1.7.0~alpha3~), libc6 (>= 2.14), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2), python-apt-common, gnupg, dirmngr | gnupg (<< 2)
Recommends: lsb-release, iso-codes, xz-utils
Suggests: python-apt-dbg, python-apt-doc, apt
Breaks: apt-forktracer (<< 0.3), apt-listchanges (<< 2.85), apt-p2p (<< 0.1.6), apt-xapian-index (<< 0.25), aptdaemon (<< 0.11+bzr343-1~), aptoncd (<< 0.1.98+bzr117), bcfg2 (<< 1.0.1), bzr-builddeb (<< 2.4), computer-janitor (<< 1.14.1-1+), debdelta (<< 0.41+), debpartial-mirror (<< 0.2.98), debsecan (<< 0.4.15), gdebi (<< 0.6.1), germinate (<< 1.21), gnome-codec-install (<< 0.4.5), mini-dinstall (<< 0.6.28), packagekit-backend-apt (<= 0.4.8-0ubuntu4), python-cdd (<< 0.0.10), python-dogtail (<< 0.6.1-3.1+), python-software-properties (<< 0.70.debian-1+), rebuildd (<< 0.3.9), software-center (<< 1.1.21debian2), tla-buildpackage (<< 0.9.14), ubuntu-dev-tools (<< 0.93debian1), unattended-upgrades (<< 0.42debian2), update-manager (<< 0.200.2-1), update-notifier (<< 0.99.3debian9), wajig (<< 2.0.46)
Description: Python interface to libapt-pkg
Description-md5: 2b295efc7c4e39a13486f5a6990ce22b
Multi-Arch: allowed
Tag: admin::package-management, devel::lang:python, devel::library,
implemented-in::python, role::devel-lib, role::program, suite::debian,
works-with::software:package
Section: python
Priority: optional
Filename: pool/main/p/python-apt/python-apt_1.8.4.3_amd64.deb
Size: 186656
MD5sum: f75342b955363933caf9d41e0b7ed3f2
SHA256: 40a6f0c05ffc025b760db64e988941660fcd53cda4daec6654f4ad4b235a9593