How To Install gpgme on CentOS 8
Introduction
In this tutorial we learn how to install gpgme
on CentOS 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. gpgme 1.13.1 7.el8 i686 344 k gpgme-1.13.1-7.el8.src.rpm baseos GnuPG Made Easy - high level crypto API https LGPLv2+ and MIT 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. gpgme 1.13.1 7.el8 x86_64 336 k gpgme-1.13.1-7.el8.src.rpm baseos GnuPG Made Easy - high level crypto API https LGPLv2+ and MIT 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install gpgme.
Install gpgme on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install gpgme
using dnf
by running the following command:
sudo dnf -y install gpgme
Install gpgme on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the gpgme
package we can use the following command:
sudo dnf remove gpgme
gpgme Package Contents on CentOS 8
/usr/bin/gpgme-json
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/b4a6d178f0281b77aef8fd58588761542cebfd
/usr/lib/.build-id/41
/usr/lib/.build-id/41/2bf2cafe02ce367a14f66b4d35e19a5954ad75
/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
/usr/bin/gpgme-json
/usr/lib/.build-id
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/1bc0a663bfb6987eb4221389089d2cc4160dae
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/a50088b915b89c7fe8fde569c50b93e80b42ef
/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
References
- [gpgme website](https://gnupg.org/related_software/gpgme/ https://gnupg.org/related_software/gpgme/ https://gnupg.org/related_software/gpgme/)
Summary
In this tutorial we learn how to install gpgme
on CentOS 8 using yum and dnf.