Install gnupg2 by entering the following commands in the terminal:
sudo apt update sudo apt install gnupg2
Description:
GNU privacy guard - a free PGP replacement (dummy transitional package)
GnuPG is GNU's tool for secure communication and data storage. It can be used to encrypt data and to create digital signatures. It includes an advanced key management facility and is compliant with the proposed OpenPGP Internet standard as described in RFC4880. . This is a dummy transitional package that provides symlinks from gpg2 to gpg.
Homepage: https://www.gnupg.org/
Version: 2.2.4-1ubuntu1
Section: universe/utils