How To Install gpgme on Rocky Linux 8

In this tutorial we learn how to install gpgme on Rocky Linux 8. gpgme is GnuPG Made Easy - high level crypto API

Introduction

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

What is gpgme

GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a high-level crypto API for encryption, decryption, signing, signature verification and key management.

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

Install gpgme 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 gpgme using dnf by running the following command:

sudo dnf -y install gpgme

Install gpgme 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 gpgme using yum by running the following command:

sudo yum -y install gpgme

How To Uninstall gpgme on Rocky Linux 8

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

sudo dnf remove gpgme

gpgme Package Contents on Rocky Linux 8

/usr/bin/gpgme-json
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/220c5dc5f4ceda79814e52d63fc708fde24dd0
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/5ee5fc2bb6bbe14210240d194cba9303b14e8c
/usr/lib64/libgpgme.so.11
/usr/lib64/libgpgme.so.11.22.1
/usr/share/doc/gpgme
/usr/share/doc/gpgme/AUTHORS
/usr/share/doc/gpgme/ChangeLog
/usr/share/doc/gpgme/NEWS
/usr/share/doc/gpgme/README
/usr/share/doc/gpgme/THANKS
/usr/share/doc/gpgme/TODO
/usr/share/doc/gpgme/VERSION
/usr/share/licenses/gpgme
/usr/share/licenses/gpgme/COPYING
/usr/share/licenses/gpgme/COPYING.LESSER
/usr/bin/gpgme-json
/usr/lib/.build-id
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/7a78c4f194bfd5451051c571797893e375a217
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/c1a050c15a91a9cff8986e5caa586d4981a3e0
/usr/lib/libgpgme.so.11
/usr/lib/libgpgme.so.11.22.1
/usr/share/doc/gpgme
/usr/share/doc/gpgme/AUTHORS
/usr/share/doc/gpgme/ChangeLog
/usr/share/doc/gpgme/NEWS
/usr/share/doc/gpgme/README
/usr/share/doc/gpgme/THANKS
/usr/share/doc/gpgme/TODO
/usr/share/doc/gpgme/VERSION
/usr/share/licenses/gpgme
/usr/share/licenses/gpgme/COPYING
/usr/share/licenses/gpgme/COPYING.LESSER

References

Summary

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