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

Last updated: May 18,2024

1. Install "gpg" package

This is a short guide on how to install gpg on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install gpg

2. Uninstall "gpg" package

Here is a brief guide to show you how to uninstall gpg on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: gpg
Architecture: amd64
Version: 2.2.19-3ubuntu2.2
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: 1135
Depends: gpgconf (= 2.2.19-3ubuntu2.2), 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.19-3ubuntu2.2)
Breaks: gnupg (<< 2.1.21-4)
Replaces: gnupg (<< 2.1.21-4)
Filename: pool/main/g/gnupg2/gpg_2.2.19-3ubuntu2.2_amd64.deb
Size: 482340
MD5sum: 9433d462e084a1c85d2556092afde040
SHA1: 5194e1582bbd6804d591a402265f235fee9aab63
SHA256: 5d1b447f60f4d8b5dd9f004368038366135d4638b816905e8a0665e7980d0e7a
SHA512: 5bf652dcee7f283b8daf3a49e21b812eb8e2f9c76b7632870b7a6606b9b6b9fbaa734ecb1b2547658e722e843e4d033ddc6a5ce809150eb8dbf904542d443238
Homepage: https://www.gnupg.org/
Description: GNU Privacy Guard -- minimalist public key operations
Description-md5: 072a12509de7421dfcbf41d8921ce986
Task: server, ubuntu-desktop-minimal, samba-server, ubuntu-desktop, cloud-image, mail-server, ubuntu-core, 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.19-3ubuntu2
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: 1135
Depends: gpgconf (= 2.2.19-3ubuntu2), 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.19-3ubuntu2)
Breaks: gnupg (<< 2.1.21-4)
Replaces: gnupg (<< 2.1.21-4)
Filename: pool/main/g/gnupg2/gpg_2.2.19-3ubuntu2_amd64.deb
Size: 482096
MD5sum: 3163acbdc9014376af98ea7d1b009bde
SHA1: c554eff64112f588040a521f180da282fe9fa8e0
SHA256: 08cb0075b5bd23aca773643633b053ee6c57c3668dde9d1ef253c7ec5b03d33d
Homepage: https://www.gnupg.org/
Description: GNU Privacy Guard -- minimalist public key operations
Description-md5: 072a12509de7421dfcbf41d8921ce986
Task: server, ubuntu-desktop-minimal, samba-server, ubuntu-desktop, cloud-image, mail-server, ubuntu-core, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop