How To Install clevis-luks.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install clevis-luks.x86_64 on Amazon Linux 2.
What is clevis-luks.x86_64
LUKSv1 integration for clevis. This package allows you to bind a LUKSv1 volume to a clevis unlocking policy. For automated unlocking, an unlocker will also be required. See, for example, clevis-dracut and clevis-udisks2.
We can use yum to install clevis-luks.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install clevis-luks.x86_64.
Install clevis-luks.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 clevis-luks.x86_64 using yum by running the following command:
sudo yum -y install clevis-luks.x86_64
How To Uninstall clevis-luks.x86_64 on Amazon Linux 2
To uninstall only the clevis-luks.x86_64 package we can use the following command:
sudo yum remove clevis-luks.x86_64
clevis-luks.x86_64 Package Contents on Amazon Linux 2
/usr/bin/clevis-bind-luks
/usr/bin/clevis-luks-bind
/usr/bin/clevis-luks-unlock
/usr/share/man/man1/clevis-bind-luks.1.gz
/usr/share/man/man1/clevis-luks-bind.1.gz
/usr/share/man/man1/clevis-luks-unlock.1.gz
/usr/share/man/man1/clevis-luks-unlockers.1.gz
References
Summary
In this tutorial we learn how to install clevis-luks.x86_64 on Amazon Linux 2 using yum.