How to Install and Uninstall gpg Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 17,2024

1. Install "gpg" package

Please follow the step by step instructions below to install gpg on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install gpg

2. Uninstall "gpg" package

Please follow the instructions below to uninstall gpg on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the gpg package on Ubuntu 20.10 (Groovy Gorilla)

Package: gpg
Architecture: amd64
Version: 2.2.20-1ubuntu1.1
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-1ubuntu1.1), libassuan0 (>= 2.5.0), libbz2-1.0, libc6 (>= 2.25), 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-1ubuntu1.1)
Breaks: gnupg (<< 2.1.21-4)
Replaces: gnupg (<< 2.1.21-4)
Filename: pool/main/g/gnupg2/gpg_2.2.20-1ubuntu1.1_amd64.deb
Size: 487000
MD5sum: 07b89de5e0bc27d4d01732cf9eeb5709
SHA1: a14c352d4c0b232a6489c1b4a70562189b09065d
SHA256: 38d0d9a531bff03d62c1fa198a54722bbfff0e298836a8457d96b9db55ddad9a
SHA512: f72647ae3518d95fecc1e17d3d9b18ba430f9adbddd9817a328a2ec5da9a10c1358561c74e520b1a246371c86e55b7b74e86a57e41013a792206819f86d1d1ed
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

Package: gpg
Architecture: amd64
Version: 2.2.20-1ubuntu1
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: 1145
Depends: gpgconf (= 2.2.20-1ubuntu1), libassuan0 (>= 2.5.0), libbz2-1.0, libc6 (>= 2.25), 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-1ubuntu1)
Breaks: gnupg (<< 2.1.21-4)
Replaces: gnupg (<< 2.1.21-4)
Filename: pool/main/g/gnupg2/gpg_2.2.20-1ubuntu1_amd64.deb
Size: 485252
MD5sum: c14001679e9f9382a01b369969d46407
SHA1: 22d80b62f49d85a9396c26e0b52bcd0ca692a82e
SHA256: 81bbde358f557e38679a4931e387adf76bb2cc95e350ade493e5b13a323702ad
SHA512: f0845deb5464e8b6a3c9ab6f216598233941ee3229826f73aa3d954060a2bf8d8c8d0c49fef894fddd7e429d0211fc84c7d82f13771af7c4990c7130141b22c7
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