How To Install libgcrypt-devel.x86_64 on Amazon Linux 2

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

Introduction

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

What is libgcrypt-devel.x86_64

Libgcrypt is a general purpose crypto library based on the code used in GNU Privacy Guard. This package contains files needed to develop applications using libgcrypt.

We can use yum to install libgcrypt-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 libgcrypt-devel.x86_64.

Install libgcrypt-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 libgcrypt-devel.x86_64 using yum by running the following command:

sudo yum -y install libgcrypt-devel.x86_64

How To Uninstall libgcrypt-devel.x86_64 on Amazon Linux 2

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

sudo yum remove libgcrypt-devel.x86_64

libgcrypt-devel.x86_64 Package Contents on Amazon Linux 2

/usr/bin/dumpsexp
/usr/bin/hmac256
/usr/bin/libgcrypt-config
/usr/include/gcrypt-module.h
/usr/include/gcrypt.h
/usr/lib64/libgcrypt.so
/usr/share/aclocal/libgcrypt.m4
/usr/share/doc/libgcrypt-devel-1.5.3
/usr/share/doc/libgcrypt-devel-1.5.3/COPYING
/usr/share/info/gcrypt.info-1.gz
/usr/share/info/gcrypt.info-2.gz
/usr/share/info/gcrypt.info.gz

References

Summary

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