How to Install and Uninstall python-apt Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 13,2024

1. Install "python-apt" package

Please follow the instructions below to install python-apt on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-apt

2. Uninstall "python-apt" package

Please follow the step by step instructions below to uninstall python-apt on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python-apt package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-apt
Architecture: amd64
Version: 1.6.5ubuntu0.7
Multi-Arch: allowed
Priority: optional
Section: python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: APT Development Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 679
Provides: python2.7-apt
Depends: python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7.5-5~), libapt-inst2.0 (>= 1.6.5~), libapt-pkg5.0 (>= 1.6.5~), 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 (<< 1.1.1+bzr982-0ubuntu19.2), 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)
Filename: pool/main/p/python-apt/python-apt_1.6.5ubuntu0.7_amd64.deb
Size: 150992
MD5sum: d10e8ffc5f65a6efe09abbae3e1381f6
SHA1: eefd600127ddca3f78ce7a8b1ff71948418b3a90
SHA256: df30ca4e29be940302887c85ed42f7ef8f940f907b7c2019d79dfc88b71f0c5a
SHA512: acdce865522fb67d9d91f7cdbf91dd6e0c5bee0ec4ac9a199857b5aff5eb5ad50e286c498e79baa637f473bc5196eac1ffe6fac92a5dd777bda0104dba0afe94
Description: Python interface to libapt-pkg
Description-md5: 2b295efc7c4e39a13486f5a6990ce22b
Task: ubuntukylin-desktop
Supported: 5y

Package: python-apt
Architecture: amd64
Version: 1.6.5ubuntu0.5
Multi-Arch: allowed
Priority: optional
Section: python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: APT Development Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 679
Provides: python2.7-apt
Depends: python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7.5-5~), libapt-inst2.0 (>= 1.6.5~), libapt-pkg5.0 (>= 1.6.5~), 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 (<< 1.1.1+bzr982-0ubuntu19.2), 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)
Filename: pool/main/p/python-apt/python-apt_1.6.5ubuntu0.5_amd64.deb
Size: 150896
MD5sum: 48bc739a36512c80db401420d2fec745
SHA1: 76f6321b1750f56a0281b3a065c4d02d47c80dd2
SHA256: 7c5f1964407e9ffde3393d03e7bf3d99bc6c2b2173c0b02fe31e3361c9da9b6f
SHA512: d2eae198f16dbd57e71a5d52757719b6d8920716735ddeced7f7235adad55edba85df2c1a69c2074d4a8bdb0bfb798701bd562b167f07014cb3bca080a49b77d
Description: Python interface to libapt-pkg
Description-md5: 2b295efc7c4e39a13486f5a6990ce22b
Task: ubuntukylin-desktop
Supported: 5y

Package: python-apt
Architecture: amd64
Version: 1.6.0
Multi-Arch: allowed
Priority: optional
Section: python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: APT Development Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 663
Provides: python2.7-apt
Depends: python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7.5-5~), libapt-inst2.0 (>= 1.4~beta3), libapt-pkg5.0 (>= 1.4~beta3), 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)
Filename: pool/main/p/python-apt/python-apt_1.6.0_amd64.deb
Size: 147520
MD5sum: 98ceea03964fa5058685915a1588efd5
SHA1: ca36dd242440d365f1ecb38dae16cbb3f3e826e2
SHA256: 75ce98e43a72522853b0b8e93e6b446f93ff59fecbeae014a2d130145549afd8
Description: Python interface to libapt-pkg
Description-md5: 2b295efc7c4e39a13486f5a6990ce22b
Task: ubuntukylin-desktop
Supported: 5y