How To Install libgcrypt.i686 on Amazon Linux 2

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

Introduction

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

What is libgcrypt.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libgcrypt.i686.

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

sudo yum -y install libgcrypt.i686

How To Uninstall libgcrypt.i686 on Amazon Linux 2

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

sudo yum remove libgcrypt.i686

libgcrypt.i686 Package Contents on Amazon Linux 2

/etc/gcrypt
/usr/lib/.libgcrypt.so.11.hmac
/usr/lib/libgcrypt.so.11
/usr/lib/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.i686 on Amazon Linux 2 using yum.