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

Last updated: December 29,2024

1. Install "gpg-agent" package

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

$ sudo apt update $ sudo apt install gpg-agent

2. Uninstall "gpg-agent" package

Please follow the guidance below to uninstall gpg-agent on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: gpg-agent
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: 911
Provides: gnupg-agent
Depends: gpgconf (= 2.2.19-3ubuntu2.2), pinentry-curses | pinentry, init-system-helpers (>= 1.52), libassuan0 (>= 2.5.1), libc6 (>= 2.25), libgcrypt20 (>= 1.8.0), libgpg-error0 (>= 1.35), libnpth0 (>= 0.90)
Recommends: gnupg (= 2.2.19-3ubuntu2.2)
Suggests: dbus-user-session, libpam-systemd, pinentry-gnome3, scdaemon
Breaks: gnupg-agent (<< 2.1.21-4)
Replaces: gnupg-agent (<< 2.1.21-4)
Filename: pool/main/g/gnupg2/gpg-agent_2.2.19-3ubuntu2.2_amd64.deb
Size: 231652
MD5sum: 9133cf6cd8de982555b393766e487b53
SHA1: 1aadae983be596b7d54a76165d17ac8bd9654421
SHA256: 727b77ae7ad658c87575772145879ade1be92f0a799e7897043ff3187fb0a05f
SHA512: bc5cc13fa927ef02e4de6e68d5a28e91ca919dfb6221bd1d68770509e6ff74bd63a35d09dc71cf8cfdd0ff8dbf2f2a4f92fe56ba98e48eb0d3e1b5b1e45fbb9c
Homepage: https://www.gnupg.org/
Description: GNU privacy guard - cryptographic agent
Description-md5: 6c5c3942a5ec2e08c337466bd44b6cde
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-agent
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: 911
Provides: gnupg-agent
Depends: gpgconf (= 2.2.19-3ubuntu2), pinentry-curses | pinentry, init-system-helpers (>= 1.52), libassuan0 (>= 2.5.1), libc6 (>= 2.25), libgcrypt20 (>= 1.8.0), libgpg-error0 (>= 1.35), libnpth0 (>= 0.90)
Recommends: gnupg (= 2.2.19-3ubuntu2)
Suggests: dbus-user-session, libpam-systemd, pinentry-gnome3, scdaemon
Breaks: gnupg-agent (<< 2.1.21-4)
Replaces: gnupg-agent (<< 2.1.21-4)
Filename: pool/main/g/gnupg2/gpg-agent_2.2.19-3ubuntu2_amd64.deb
Size: 232000
MD5sum: 106a0047ba2f5e9f6458cd36f51bf831
SHA1: 0d1a18ce368c6df71969e67b97251f2b93e34f9c
SHA256: 77b20da218aaa13e880bcc56bd1bca4fc99d367d4f94a20ed180764fc79d752d
Homepage: https://www.gnupg.org/
Description: GNU privacy guard - cryptographic agent
Description-md5: 6c5c3942a5ec2e08c337466bd44b6cde
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