How To Install gnupg1 on Rocky Linux 8

In this tutorial we learn how to install gnupg1 on Rocky Linux 8. gnupg1 is A GNU utility for secure communication and data storage

Introduction

In this tutorial we learn how to install gnupg1 on Rocky Linux 8.

What is gnupg1

GnuPG (GNU Privacy Guard) is a GNU utility for encrypting data and creating digital signatures. GnuPG has advanced key management capabilities and is compliant with the proposed OpenPGP Internet standard described in RFC2440. Since GnuPG doesn’t use any patented algorithm, it is not compatible with any version of PGP2 (PGP2.x uses only IDEA for symmetric-key encryption, which is patented worldwide).

We can use yum or dnf to install gnupg1 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gnupg1.

Install gnupg1 on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gnupg1 using dnf by running the following command:

sudo dnf -y install gnupg1

Install gnupg1 on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gnupg1 using yum by running the following command:

sudo yum -y install gnupg1

How To Uninstall gnupg1 on Rocky Linux 8

To uninstall only the gnupg1 package we can use the following command:

sudo dnf remove gnupg1

gnupg1 Package Contents on Rocky Linux 8

/usr/bin/gpg-zip1
/usr/bin/gpg1
/usr/bin/gpgsplit1
/usr/bin/gpgv1
/usr/bin/lspgpot
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/3ea26b6be74eb60aea5103eab07edaf9726dcb
/usr/lib/.build-id/79
/usr/lib/.build-id/79/d809985acc4115aeadc109b23bd5ad37631373
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/bf865c7bfe48fc44ff388fc27c6908901f352c
/usr/share/doc/gnupg1
/usr/share/doc/gnupg1/AUTHORS
/usr/share/doc/gnupg1/BUGS
/usr/share/doc/gnupg1/DETAILS
/usr/share/doc/gnupg1/HACKING
/usr/share/doc/gnupg1/NEWS
/usr/share/doc/gnupg1/OpenPGP
/usr/share/doc/gnupg1/PROJECTS
/usr/share/doc/gnupg1/README
/usr/share/doc/gnupg1/THANKS
/usr/share/doc/gnupg1/TODO
/usr/share/doc/gnupg1/samplekeys.asc
/usr/share/gnupg1
/usr/share/gnupg1/FAQ
/usr/share/gnupg1/options.skel
/usr/share/info/gnupg1.info.gz
/usr/share/licenses/gnupg1
/usr/share/licenses/gnupg1/COPYING
/usr/share/locale/be/LC_MESSAGES/gnupg1.mo
/usr/share/locale/ca/LC_MESSAGES/gnupg1.mo
/usr/share/locale/cs/LC_MESSAGES/gnupg1.mo
/usr/share/locale/da/LC_MESSAGES/gnupg1.mo
/usr/share/locale/de/LC_MESSAGES/gnupg1.mo
/usr/share/locale/el/LC_MESSAGES/gnupg1.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/gnupg1.mo
/usr/share/locale/en@quot/LC_MESSAGES/gnupg1.mo
/usr/share/locale/eo/LC_MESSAGES/gnupg1.mo
/usr/share/locale/es/LC_MESSAGES/gnupg1.mo
/usr/share/locale/et/LC_MESSAGES/gnupg1.mo
/usr/share/locale/fi/LC_MESSAGES/gnupg1.mo
/usr/share/locale/fr/LC_MESSAGES/gnupg1.mo
/usr/share/locale/gl/LC_MESSAGES/gnupg1.mo
/usr/share/locale/hu/LC_MESSAGES/gnupg1.mo
/usr/share/locale/id/LC_MESSAGES/gnupg1.mo
/usr/share/locale/it/LC_MESSAGES/gnupg1.mo
/usr/share/locale/ja/LC_MESSAGES/gnupg1.mo
/usr/share/locale/nb/LC_MESSAGES/gnupg1.mo
/usr/share/locale/nl/LC_MESSAGES/gnupg1.mo
/usr/share/locale/pl/LC_MESSAGES/gnupg1.mo
/usr/share/locale/pt/LC_MESSAGES/gnupg1.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gnupg1.mo
/usr/share/locale/ro/LC_MESSAGES/gnupg1.mo
/usr/share/locale/ru/LC_MESSAGES/gnupg1.mo
/usr/share/locale/sk/LC_MESSAGES/gnupg1.mo
/usr/share/locale/sv/LC_MESSAGES/gnupg1.mo
/usr/share/locale/tr/LC_MESSAGES/gnupg1.mo
/usr/share/locale/uk/LC_MESSAGES/gnupg1.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gnupg1.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gnupg1.mo
/usr/share/man/man1/gpg-zip1.1.gz
/usr/share/man/man1/gpg1.1.gz
/usr/share/man/man1/gpgv1.1.gz

References

Summary

In this tutorial we learn how to install gnupg1 on Rocky Linux 8 using yum and dnf.