How to Install and Uninstall gpg Package on Debian 12 (Bookworm)

Last updated: November 06,2024

1. Install "gpg" package

Learn how to install gpg on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install gpg

2. Uninstall "gpg" package

This guide covers the steps necessary to uninstall gpg on Debian 12 (Bookworm):

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

3. Information about the gpg package on Debian 12 (Bookworm)

Package: gpg
Source: gnupg2
Version: 2.2.40-1.1
Installed-Size: 1581
Maintainer: Debian GnuPG Maintainers
Architecture: amd64
Replaces: gnupg (<< 2.1.21-4)
Depends: gpgconf (= 2.2.40-1.1), libassuan0 (>= 2.5.0), libbz2-1.0, libc6 (>= 2.34), libgcrypt20 (>= 1.10.0), libgpg-error0 (>= 1.42), libreadline8 (>= 6.0), libsqlite3-0 (>= 3.7.15), zlib1g (>= 1:1.1.4)
Recommends: gnupg (= 2.2.40-1.1)
Breaks: gnupg (<< 2.1.21-4)
Description: GNU Privacy Guard -- minimalist public key operations
Description-md5: 072a12509de7421dfcbf41d8921ce986
Multi-Arch: foreign
Homepage: https://www.gnupg.org/
Tag: implemented-in::c, role::program, security::cryptography,
security::integrity, security::privacy
Section: utils
Priority: optional
Filename: pool/main/g/gnupg2/gpg_2.2.40-1.1_amd64.deb
Size: 948640
MD5sum: 7b0b9262727ae7d784c12e8244cd39ac
SHA256: d66fd8d7dd21a98e6a5acaa8d3fcb80b30561bb20c8e635dd6e66873abd4d40d