How to Install and Uninstall python3-apt Package on Debian 12 (Bookworm)

Last updated: November 23,2024

1. Install "python3-apt" package

Please follow the guidelines below to install python3-apt on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-apt

2. Uninstall "python3-apt" package

This guide let you learn how to uninstall python3-apt on Debian 12 (Bookworm):

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

3. Information about the python3-apt package on Debian 12 (Bookworm)

Package: python3-apt
Source: python-apt
Version: 2.6.0
Installed-Size: 685
Maintainer: APT Development Team
Architecture: amd64
Replaces: python-apt (<< 0.7.98+nmu1)
Depends: python3 (<< 3.12), python3 (>= 3.11~), python3:any, libapt-pkg6.0 (>= 1.9.11~), libc6 (>= 2.33), libgcc-s1 (>= 3.0), libstdc++6 (>= 11), python-apt-common, distro-info-data
Recommends: lsb-release, iso-codes
Suggests: 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,
implemented-in::c++, implemented-in::python, role::devel-lib
Section: python
Priority: optional
Filename: pool/main/p/python-apt/python3-apt_2.6.0_amd64.deb
Size: 158528
MD5sum: 0102e8d2c234e40114682e75f1c735f1
SHA256: 21faa053e5f9a01f89ec7b4e1f77652658f74328ec01f24550d3714e6c13ad20