How To Install clevis.x86_64 on Amazon Linux 2

In this tutorial we learn how to install clevis.x86_64 in Amazon Linux 2. clevis.x86_64 is Automated decryption framework

Introduction

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

What is clevis.x86_64

Clevis is a framework for automated decryption. It allows you to encrypt data using sophisticated unlocking policies which enable decryption to occur automatically. The clevis package provides basic encryption/decryption policy support. Users can use this directly; but most commonly, it will be used as a building block for other packages. For example, see the clevis-luks and clevis-dracut packages for automatic root volume unlocking of LUKSv1 volumes during early boot.

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

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

sudo yum -y install clevis.x86_64

How To Uninstall clevis.x86_64 on Amazon Linux 2

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

sudo yum remove clevis.x86_64

clevis.x86_64 Package Contents on Amazon Linux 2

/usr/bin/clevis
/usr/bin/clevis-decrypt
/usr/bin/clevis-decrypt-http
/usr/bin/clevis-decrypt-sss
/usr/bin/clevis-decrypt-tang
/usr/bin/clevis-decrypt-tpm2
/usr/bin/clevis-encrypt-http
/usr/bin/clevis-encrypt-sss
/usr/bin/clevis-encrypt-tang
/usr/bin/clevis-encrypt-tpm2
/usr/share/licenses/clevis-7
/usr/share/licenses/clevis-7/COPYING
/usr/share/man/man1/clevis-decrypt.1.gz
/usr/share/man/man1/clevis-encrypt-http.1.gz
/usr/share/man/man1/clevis-encrypt-sss.1.gz
/usr/share/man/man1/clevis-encrypt-tang.1.gz
/usr/share/man/man1/clevis-encrypt-tpm2.1.gz
/usr/share/man/man1/clevis.1.gz

References

Summary

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