How To Install cryptsetup-libs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install cryptsetup-libs.x86_64 in Amazon Linux 2. cryptsetup-libs.x86_64 is Cryptsetup shared library

Introduction

In this tutorial we learn how to install cryptsetup-libs.x86_64 on Amazon Linux 2.

What is cryptsetup-libs.x86_64

This package contains the cryptsetup shared library, libcryptsetup.

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

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

sudo yum -y install cryptsetup-libs.x86_64

How To Uninstall cryptsetup-libs.x86_64 on Amazon Linux 2

To uninstall only the cryptsetup-libs.x86_64 package we can use the following command:

sudo yum remove cryptsetup-libs.x86_64

cryptsetup-libs.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libcryptsetup.so.4
/usr/lib64/libcryptsetup.so.4.7.0
/usr/share/licenses/cryptsetup-libs-1.7.4
/usr/share/licenses/cryptsetup-libs-1.7.4/COPYING
/usr/share/licenses/cryptsetup-libs-1.7.4/COPYING.LGPL
/usr/share/locale/cs/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/da/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/de/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/es/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/fi/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/fr/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/id/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/it/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/nl/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/pl/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/pt_BR/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/sr/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/sv/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/uk/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/vi/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/zh_CN/LC_MESSAGES/cryptsetup.mo

References

Summary

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