How To Install gnupg1 on Fedora 34

gnupg1 is A GNU utility for secure communication and data storage

Introduction

In this tutorial we learn how to install gnupg1 on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install gnupg1.

Install gnupg1 on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install gnupg1

Install gnupg1 on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove gnupg1

gnupg1 Package Contents on Fedora 34

/usr/bin/gpg-zip1
/usr/bin/gpg1
/usr/bin/gpgsplit1
/usr/bin/gpgv1
/usr/bin/lspgpot
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/7dd0b673482468f708d87c7eed6edd5a87434e
/usr/lib/.build-id/27
/usr/lib/.build-id/27/49321ec49ffe338e41ac9cf32b8a2d8644ac03
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/de11f1ff22127013a059185af21cee92bbce57
/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 Fedora 34 using yum and dnf.