How To Install libgcrypt.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libgcrypt.x86_64 in Amazon Linux 2. libgcrypt.x86_64 is A general-purpose cryptography library

Introduction

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

What is libgcrypt.x86_64

Libgcrypt is a general purpose crypto library based on the code used in GNU Privacy Guard. This is a development version.

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

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

sudo yum -y install libgcrypt.x86_64

How To Uninstall libgcrypt.x86_64 on Amazon Linux 2

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

sudo yum remove libgcrypt.x86_64

libgcrypt.x86_64 Package Contents on Amazon Linux 2

/etc/gcrypt
/usr/lib64/.libgcrypt.so.11.hmac
/usr/lib64/libgcrypt.so.11
/usr/lib64/libgcrypt.so.11.8.2
/usr/share/doc/libgcrypt-1.5.3
/usr/share/doc/libgcrypt-1.5.3/AUTHORS
/usr/share/doc/libgcrypt-1.5.3/COPYING.LIB
/usr/share/doc/libgcrypt-1.5.3/NEWS
/usr/share/doc/libgcrypt-1.5.3/THANKS

References

Summary

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