How to Install and Uninstall apt Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: November 21,2024
1. Install "apt" package
Learn how to install apt on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
apt
Copied
2. Uninstall "apt" package
This guide covers the steps necessary to uninstall apt on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
apt
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the apt package on Ubuntu 21.04 (Hirsute Hippo)
Package: apt
Architecture: amd64
Version: 2.2.3
Priority: important
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: APT Development Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4150
Provides: apt-transport-https (= 2.2.3)
Depends: adduser, gpgv | gpgv2 | gpgv1, libapt-pkg6.0 (>= 2.2.3), ubuntu-keyring, libc6 (>= 2.33), libgcc-s1 (>= 3.3.1), libgnutls30 (>= 3.7.0), 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.2.3_amd64.deb
Size: 1301536
MD5sum: 6ebf05c83791147958ab570b64b2c944
SHA1: 18ad1fcbf509176c6cc910da1443b89bf7f4c8cd
SHA256: 9bd87aaea434a0dca38d5b1bc2c6ced281cb24f0940728f46290ddcc99851434
SHA512: c5a958728f8287a95168b2ab6094e80f2495050659e0a83ce92800d8975ab831d507edc1c93754fe4d5a99c03828e6a7445acbbdbdc067a8dc8b220b83240c3c
Description-en: commandline package manager
This package provides commandline tools for searching and
managing as well as querying information about packages
as a low-level access to all features of the libapt-pkg library.
.
These include:
* apt-get for retrieval of packages and information about them
from authenticated sources and for installation, upgrade and
removal of packages together with their dependencies
* apt-cache for querying available information about installed
as well as installable packages
* apt-cdrom to use removable media as a source for packages
* apt-config as an interface to the configuration settings
* apt-key as an interface to manage authentication keys
Description-md5: 9fb97a88cb7383934ef963352b53b4a7
Task: minimal
Build-Essential: yes
Architecture: amd64
Version: 2.2.3
Priority: important
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: APT Development Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4150
Provides: apt-transport-https (= 2.2.3)
Depends: adduser, gpgv | gpgv2 | gpgv1, libapt-pkg6.0 (>= 2.2.3), ubuntu-keyring, libc6 (>= 2.33), libgcc-s1 (>= 3.3.1), libgnutls30 (>= 3.7.0), 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.2.3_amd64.deb
Size: 1301536
MD5sum: 6ebf05c83791147958ab570b64b2c944
SHA1: 18ad1fcbf509176c6cc910da1443b89bf7f4c8cd
SHA256: 9bd87aaea434a0dca38d5b1bc2c6ced281cb24f0940728f46290ddcc99851434
SHA512: c5a958728f8287a95168b2ab6094e80f2495050659e0a83ce92800d8975ab831d507edc1c93754fe4d5a99c03828e6a7445acbbdbdc067a8dc8b220b83240c3c
Description-en: commandline package manager
This package provides commandline tools for searching and
managing as well as querying information about packages
as a low-level access to all features of the libapt-pkg library.
.
These include:
* apt-get for retrieval of packages and information about them
from authenticated sources and for installation, upgrade and
removal of packages together with their dependencies
* apt-cache for querying available information about installed
as well as installable packages
* apt-cdrom to use removable media as a source for packages
* apt-config as an interface to the configuration settings
* apt-key as an interface to manage authentication keys
Description-md5: 9fb97a88cb7383934ef963352b53b4a7
Task: minimal
Build-Essential: yes