How to Install and Uninstall gpg Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 11,2024

1. Install "gpg" package

This tutorial shows how to install gpg on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gpg

2. Uninstall "gpg" package

Learn how to uninstall gpg on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the gpg package on Ubuntu 21.04 (Hirsute Hippo)

Package: gpg
Architecture: amd64
Version: 2.2.20-1ubuntu3
Multi-Arch: foreign
Priority: optional
Section: utils
Source: gnupg2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GnuPG Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1153
Depends: gpgconf (= 2.2.20-1ubuntu3), libassuan0 (>= 2.5.0), libbz2-1.0, libc6 (>= 2.33), libgcrypt20 (>= 1.8.0), libgpg-error0 (>= 1.35), libreadline8 (>= 6.0), libsqlite3-0 (>= 3.7.15), zlib1g (>= 1:1.1.4)
Recommends: gnupg (= 2.2.20-1ubuntu3)
Breaks: gnupg (<< 2.1.21-4)
Replaces: gnupg (<< 2.1.21-4)
Filename: pool/main/g/gnupg2/gpg_2.2.20-1ubuntu3_amd64.deb
Size: 486340
MD5sum: d53add7a10996c8843230fd12331b9bd
SHA1: 31668a559269bc0926284519ac760b3ac2c11507
SHA256: 2123cdc9b5a223091d3dcc14c078ce96ce45064c39fec4efa096cc5461f04973
SHA512: 4327f421ab86270bc554fa6de77601d26e6b5b22979bdaf7459eedfb72bbe61f969067488019afb2163ba350d21edaf6ab8f9f86e0d6a74734cc5e44dfff5f49
Homepage: https://www.gnupg.org/
Description-en: GNU Privacy Guard -- minimalist public key operations
GnuPG is GNU's tool for secure communication and data storage.
It can be used to encrypt data and to create digital signatures.
It includes an advanced key management facility and is compliant
with the proposed OpenPGP Internet standard as described in RFC4880.
.
This package contains /usr/bin/gpg itself, and is useful on its own
only for public key operations (encryption, signature verification,
listing OpenPGP certificates, etc). If you want full capabilities
(including secret key operations, network access, etc), please
install the "gnupg" package, which pulls in the full suite of tools.
Description-md5: 072a12509de7421dfcbf41d8921ce986
Task: server, ubuntu-desktop-minimal, samba-server, ubuntu-desktop, cloud-image, server-raspi, ubuntu-desktop-raspi, mail-server, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi