How to Install and Uninstall python3-apt Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "python3-apt" package

Please follow the instructions below to install python3-apt on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-apt

2. Uninstall "python3-apt" package

Please follow the guidance below to uninstall python3-apt on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python3-apt package on Ubuntu 21.10 (Impish Indri)

Package: python3-apt
Architecture: amd64
Version: 2.2.1
Multi-Arch: allowed
Priority: standard
Section: python
Source: python-apt
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: APT Development Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 704
Provides: python3.9-apt
Depends: python3 (<< 3.10), python3 (>= 3.9~), python3:any, libapt-pkg6.0 (>= 1.9.11~), libc6 (>= 2.33), libgcc-s1 (>= 3.3.1), 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)
Replaces: python-apt (<< 0.7.98+nmu1)
Filename: pool/main/p/python-apt/python3-apt_2.2.1_amd64.deb
Size: 150672
MD5sum: 8677e165f5161b3f237d6e0b38e96e0e
SHA1: 9e36d6b6641cf78072f53e8db9b90735d94e2c98
SHA256: 7d12e31e55a30fc7e6a52de8a8f50d536a394ff7c05eeec11e00288fa7e7a16e
SHA512: d8b09a05a90715044fec3b49b4698f87793668e3b7eaead27efcc6d7ec28c70c89c1f37cba2ddfab21544687bbce2512b54276406be4859ede8e66295ca3f5a3
Description-en: Python 3 interface to libapt-pkg
The apt_pkg Python 3 interface will provide full access to the internal
libapt-pkg structures allowing Python 3 programs to easily perform a
variety of functions, such as:
.
- Access to the APT configuration system
- Access to the APT package information database
- Parsing of Debian package control files, and other files with a
similar structure
.
The included 'aptsources' Python interface provides an abstraction of
the sources.list configuration on the repository and the distro level.
Description-md5: 4e7bf010b1b89e36309ea2f4b7005936
Task: standard, server-minimal