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

Last updated: August 26,2024

1. Install "gnupg2" package

Please follow the guidelines below to install gnupg2 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gnupg2

2. Uninstall "gnupg2" package

Please follow the steps below to uninstall gnupg2 on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gnupg2
Architecture: all
Version: 2.2.20-1ubuntu3
Multi-Arch: foreign
Priority: extra
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GnuPG Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 50
Depends: gnupg (>= 2.2.20-1ubuntu3)
Filename: pool/universe/g/gnupg2/gnupg2_2.2.20-1ubuntu3_all.deb
Size: 4588
MD5sum: 381e9929297e212a51c9bf8b413d0e1c
SHA1: 5aa182e7daf9c589403157d60a52af029e8f674e
SHA256: bee2ef802d2bacf4cb83bca72c3e44e3fae99ee96dff3faccad7c89f6cd602e8
SHA512: f865b6312d05a9ba66d43fe7513a2ad6cd98efde7540eb062e1dbdb6313b7b9feace3e05200c4dd1a3bf602c35f2b197329f0cf32b3efc2e9026db523420c860
Homepage: https://www.gnupg.org/
Description-en: GNU privacy guard - a free PGP replacement (dummy transitional package)
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 is a dummy transitional package that provides symlinks from gpg2
to gpg.
Description-md5: b00f9e73860378b7bce07e0ad3dd2e88