How to Install and Uninstall python3-apt Package on Debian 11 (Bullseye)

Last updated: December 23,2024

1. Install "python3-apt" package

Please follow the step by step instructions below to install python3-apt on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install python3-apt

2. Uninstall "python3-apt" package

Here is a brief guide to show you how to uninstall python3-apt on Debian 11 (Bullseye):

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

3. Information about the python3-apt package on Debian 11 (Bullseye)

Package: python3-apt
Source: python-apt
Version: 2.2.1
Installed-Size: 708
Maintainer: APT Development Team
Architecture: amd64
Replaces: python-apt (<< 0.7.98+nmu1)
Provides: python3.9-apt
Depends: python3 (<< 3.10), python3 (>= 3.9~), python3:any, libapt-pkg6.0 (>= 1.9.11~), libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 5.2), python-apt-common, distro-info-data
Recommends: lsb-release, iso-codes
Suggests: python3-apt-dbg, python-apt-doc, apt
Breaks: apt-xapian-index (<< 0.51~), kthresher (<= 1.4.0-1), python-apt (<< 0.7.98+nmu1)
Description: Python 3 interface to libapt-pkg
Description-md5: 4e7bf010b1b89e36309ea2f4b7005936
Multi-Arch: allowed
Tag: admin::package-management, devel::lang:python, devel::library,
role::devel-lib
Section: python
Priority: optional
Filename: pool/main/p/python-apt/python3-apt_2.2.1_amd64.deb
Size: 190020
MD5sum: 64ebb77b7c26bef777b8bdedf26c8fd7
SHA256: 2b6b6485e97a0b12925acadb0228e0c16bbad8c4cc2c7239967327db4842c7c7