How to Install and Uninstall apt Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 23,2024

1. Install "apt" package

Please follow the guidance below to install apt on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install apt

2. Uninstall "apt" package

This is a short guide on how to uninstall apt on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove apt $ sudo apt autoclean && sudo apt autoremove

3. Information about the apt package on Ubuntu 20.04 LTS (Focal Fossa)

Package: apt
Architecture: amd64
Version: 2.0.10
Priority: important
Build-Essential: yes
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: APT Development Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4192
Provides: apt-transport-https (= 2.0.10)
Depends: adduser, gpgv | gpgv2 | gpgv1, libapt-pkg6.0 (>= 2.0.10), ubuntu-keyring, libc6 (>= 2.15), libgcc-s1 (>= 3.0), libgnutls30 (>= 3.6.12), libseccomp2 (>= 2.4.2), libstdc++6 (>= 9), libsystemd0
Recommends: ca-certificates
Suggests: apt-doc, aptitude | synaptic | wajig, dpkg-dev (>= 1.17.2), gnupg | gnupg2 | gnupg1, powermgmt-base
Breaks: apt-transport-https (<< 1.5~alpha4~), apt-utils (<< 1.3~exp2~), aptitude (<< 0.8.10)
Replaces: apt-transport-https (<< 1.5~alpha4~), apt-utils (<< 1.3~exp2~)
Filename: pool/main/a/apt/apt_2.0.10_amd64.deb
Size: 1279700
MD5sum: 2dfaee3ad5990ea24adff78c290ba619
SHA1: 726a4f5fb15f4a49daa70f3fb1f6e71ec338a55a
SHA256: 642a65e0cd79c4f3202976ae1e70c0339927947e6b5c77abac7abb35d0ca9404
SHA512: 1b3d091efb0ce18af806e7e69fe7c15f7defc23e4c9f827125d9ac1b08489e8f656fcf5cf450addd2bf71a6037ca27f22f48156be24419bfd220b2a58fb26ced
Description: commandline package manager
Description-md5: 9fb97a88cb7383934ef963352b53b4a7
Task: minimal

Package: apt
Architecture: amd64
Version: 2.0.2ubuntu0.2
Priority: important
Build-Essential: yes
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: APT Development Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4183
Provides: apt-transport-https (= 2.0.2ubuntu0.2)
Depends: adduser, gpgv | gpgv2 | gpgv1, libapt-pkg6.0 (>= 2.0.2ubuntu0.2), ubuntu-keyring, libc6 (>= 2.15), libgcc-s1 (>= 3.0), libgnutls30 (>= 3.6.12), libseccomp2 (>= 2.4.2), libstdc++6 (>= 9), libsystemd0
Recommends: ca-certificates
Suggests: apt-doc, aptitude | synaptic | wajig, dpkg-dev (>= 1.17.2), gnupg | gnupg2 | gnupg1, powermgmt-base
Breaks: apt-transport-https (<< 1.5~alpha4~), apt-utils (<< 1.3~exp2~), aptitude (<< 0.8.10)
Replaces: apt-transport-https (<< 1.5~alpha4~), apt-utils (<< 1.3~exp2~)
Filename: pool/main/a/apt/apt_2.0.2ubuntu0.2_amd64.deb
Size: 1289696
MD5sum: 217707e46ec7d2377152bc139876c83c
SHA1: b0d79528d10de5d03024aa193c66620901485778
SHA256: 40b103c057258fe69bf75d8e36c9ab0a92eed77280f12ef6d394560f29c4765c
SHA512: 35b3927386df2bdcfbc68e709108cc9137f80dceeb8d95dee183a12dc5997d44bb1b5536535d27c56b1f4c96c4603f491144f1e5260e387701c7ec62be59c6c4
Description: commandline package manager
Description-md5: 9fb97a88cb7383934ef963352b53b4a7
Task: minimal

Package: apt
Architecture: amd64
Version: 2.0.2
Priority: important
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: APT Development Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4182
Provides: apt-transport-https (= 2.0.2)
Depends: adduser, gpgv | gpgv2 | gpgv1, libapt-pkg6.0 (>= 2.0.2), ubuntu-keyring, libc6 (>= 2.15), libgcc-s1 (>= 3.0), libgnutls30 (>= 3.6.12), libseccomp2 (>= 2.4.2), libstdc++6 (>= 9), libsystemd0
Recommends: ca-certificates
Suggests: apt-doc, aptitude | synaptic | wajig, dpkg-dev (>= 1.17.2), gnupg | gnupg2 | gnupg1, powermgmt-base
Breaks: apt-transport-https (<< 1.5~alpha4~), apt-utils (<< 1.3~exp2~), aptitude (<< 0.8.10)
Replaces: apt-transport-https (<< 1.5~alpha4~), apt-utils (<< 1.3~exp2~)
Filename: pool/main/a/apt/apt_2.0.2_amd64.deb
Size: 1288960
MD5sum: b3510e0836223a7921205a459d5d6eae
SHA1: 2b6f23eebcad75926f1db0ebcf010cc8b95de682
SHA256: bc96088b0253a9bc41410a44f53c907c6d9bc9f210768ab2ef0bb63d5e22dfc3
Description: commandline package manager
Description-md5: 9fb97a88cb7383934ef963352b53b4a7
Task: minimal
Build-Essential: yes