How to Install and Uninstall python3-apt Package on Kali Linux

Last updated: September 20,2024

1. Install "python3-apt" package

This tutorial shows how to install python3-apt on Kali Linux

$ sudo apt update $ sudo apt install python3-apt

2. Uninstall "python3-apt" package

Please follow the step by step instructions below to uninstall python3-apt on Kali Linux:

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

3. Information about the python3-apt package on Kali Linux

Package: python3-apt
Source: python-apt
Version: 2.7.5
Installed-Size: 1118
Maintainer: APT Development Team
Architecture: amd64
Replaces: python-apt (<< 0.7.98+nmu1)
Depends: python3 (<< 3.13), python3 (>= 3.11~), python3:any, libapt-pkg6.0 (>= 1.9.11~), libc6 (>= 2.33), libgcc-s1 (>= 3.0), libstdc++6 (>= 13.1), 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)
Size: 203628
SHA256: 80eafb6714b56940d6f5dddb5fa72ec03f83c44a11aaca838ecfb0e7f8901c83
SHA1: 6dfa9d3ad79d5cd882b6a20dad79cbcc9e81cd05
MD5sum: 5bd94ec2e581af81ffca4d902d8e1d1e
Description: 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:
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.7.5_amd64.deb