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

Last updated: May 08,2024

1. Install "gnupg" package

This guide let you learn how to install gnupg on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install gnupg

2. Uninstall "gnupg" package

In this section, we are going to explain the necessary steps to uninstall gnupg on Debian 12 (Bookworm):

$ sudo apt remove gnupg $ sudo apt autoclean && sudo apt autoremove

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

Package: gnupg
Source: gnupg2
Version: 2.2.40-1.1
Installed-Size: 885
Maintainer: Debian GnuPG Maintainers
Architecture: all
Replaces: gnupg2 (<< 2.1.11-7+exp1)
Depends: dirmngr (<< 2.2.40-1.1.1~), dirmngr (>= 2.2.40-1.1), gnupg-l10n (= 2.2.40-1.1), gnupg-utils (<< 2.2.40-1.1.1~), gnupg-utils (>= 2.2.40-1.1), gpg (<< 2.2.40-1.1.1~), gpg (>= 2.2.40-1.1), gpg-agent (<< 2.2.40-1.1.1~), gpg-agent (>= 2.2.40-1.1), gpg-wks-client (<< 2.2.40-1.1.1~), gpg-wks-client (>= 2.2.40-1.1), gpg-wks-server (<< 2.2.40-1.1.1~), gpg-wks-server (>= 2.2.40-1.1), gpgsm (<< 2.2.40-1.1.1~), gpgsm (>= 2.2.40-1.1), gpgv (<< 2.2.40-1.1.1~), gpgv (>= 2.2.40-1.1)
Suggests: parcimonie, xloadimage
Breaks: debsig-verify (<< 0.15), dirmngr (<< 2.2.40-1.1), gnupg2 (<< 2.1.11-7+exp1), libgnupg-interface-perl (<< 0.52-3), libgnupg-perl (<= 0.19-1), libmail-gnupg-perl (<= 0.22-1), monkeysphere (<< 0.38~), php-crypt-gpg (<= 1.4.1-1), python-apt (<= 1.1.0~beta4), python-gnupg (<< 0.3.8-3), python3-apt (<= 1.1.0~beta4)
Description: GNU privacy guard - a free PGP replacement
Description-md5: 2421c574774486effdededa540cfb1c7
Multi-Arch: foreign
Homepage: https://www.gnupg.org/
Tag: implemented-in::c, interface::commandline, mail::TODO, role::program,
role::shared-lib, scope::utility, security::authentication,
security::cryptography, security::privacy, suite::gnu, use::checking,
use::dialing, use::login, works-with-format::plaintext,
works-with-format::zip, works-with::file, works-with::text
Section: utils
Priority: optional
Filename: pool/main/g/gnupg2/gnupg_2.2.40-1.1_all.deb
Size: 845768
MD5sum: 5752152632f3a26f2725937e4cb79205
SHA256: 6f6fe95c43338db9887e52fe948228a779d3651fef1a975b62dfe891bb71fdc4