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

Last updated: December 24,2024

1. Install "gnupg2" package

This tutorial shows how to install gnupg2 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install gnupg2

2. Uninstall "gnupg2" package

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

$ sudo apt remove gnupg2 $ sudo apt autoclean && sudo apt autoremove

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

Package: gnupg2
Version: 2.2.40-1.1
Installed-Size: 453
Maintainer: Debian GnuPG Maintainers
Architecture: all
Depends: gnupg (>= 2.2.40-1.1)
Description: GNU privacy guard - a free PGP replacement (dummy transitional package)
Description-md5: b00f9e73860378b7bce07e0ad3dd2e88
Multi-Arch: foreign
Homepage: https://www.gnupg.org/
Tag: role::shared-lib
Section: oldlibs
Priority: optional
Filename: pool/main/g/gnupg2/gnupg2_2.2.40-1.1_all.deb
Size: 445496
MD5sum: 162d31b6c88820d585fdcffffb4a53c7
SHA256: 1845ad1b6640bd83dc46a410acdb2a97442b4575d06a9684012bfe47008c99c6