How To Install clevis-luks on AlmaLinux 8

In this tutorial we learn how to install clevis-luks in AlmaLinux 8. clevis-luks is LUKS integration for clevis

Introduction

In this tutorial we learn how to install clevis-luks on AlmaLinux 8.

What is clevis-luks

LUKS integration for clevis. This package allows you to bind a LUKS 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 or dnf to install clevis-luks on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install clevis-luks.

Install clevis-luks on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install clevis-luks using dnf by running the following command:

sudo dnf -y install clevis-luks

Install clevis-luks on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install clevis-luks using yum by running the following command:

sudo yum -y install clevis-luks

How To Uninstall clevis-luks on AlmaLinux 8

To uninstall only the clevis-luks package we can use the following command:

sudo dnf remove clevis-luks

References

Summary

In this tutorial we learn how to install clevis-luks on AlmaLinux 8 using yum and dnf.