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

In this tutorial we learn how to install cryptsetup-devel.x86_64 in Amazon Linux 2. cryptsetup-devel.x86_64 is Headers and libraries for using encrypted file systems

Introduction

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

What is cryptsetup-devel.x86_64

The cryptsetup-devel package contains libraries and header files used for writing code that makes use of disk encryption.

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

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

sudo yum -y install cryptsetup-devel.x86_64

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

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

sudo yum remove cryptsetup-devel.x86_64

cryptsetup-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libcryptsetup.h
/usr/lib64/libcryptsetup.so
/usr/lib64/pkgconfig/libcryptsetup.pc
/usr/share/doc/cryptsetup-devel-1.7.4
/usr/share/doc/cryptsetup-devel-1.7.4/Makefile
/usr/share/doc/cryptsetup-devel-1.7.4/crypt_log_usage.c
/usr/share/doc/cryptsetup-devel-1.7.4/crypt_luks_usage.c

References

Summary

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