How To Install libgpg-error-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libgpg-error-devel.x86_64 in Amazon Linux 2. libgpg-error-devel.x86_64 is Development files for the libgpg-error package

Introduction

In this tutorial we learn how to install libgpg-error-devel.x86_64 on Amazon Linux 2.

What is libgpg-error-devel.x86_64

This is a library that defines common error values for all GnuPG components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, pinentry, SmartCard Daemon and possibly more in the future. This package contains files necessary to develop applications using libgpg-error.

We can use yum to install libgpg-error-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libgpg-error-devel.x86_64.

Install libgpg-error-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libgpg-error-devel.x86_64 using yum by running the following command:

sudo yum -y install libgpg-error-devel.x86_64

How To Uninstall libgpg-error-devel.x86_64 on Amazon Linux 2

To uninstall only the libgpg-error-devel.x86_64 package we can use the following command:

sudo yum remove libgpg-error-devel.x86_64

libgpg-error-devel.x86_64 Package Contents on Amazon Linux 2

/usr/bin/gpg-error-config
/usr/include/gpg-error.h
/usr/lib64/libgpg-error.so
/usr/share/aclocal/gpg-error.m4

References

Summary

In this tutorial we learn how to install libgpg-error-devel.x86_64 on Amazon Linux 2 using yum.