How To Install clevis-systemd.x86_64 on Amazon Linux 2

In this tutorial we learn how to install clevis-systemd.x86_64 in Amazon Linux 2. clevis-systemd.x86_64 is systemd integration for clevis

Introduction

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

What is clevis-systemd.x86_64

Automatically unlocks LUKSv1 _netdev block devices from /etc/crypttab.

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

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

sudo yum -y install clevis-systemd.x86_64

How To Uninstall clevis-systemd.x86_64 on Amazon Linux 2

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

sudo yum remove clevis-systemd.x86_64

clevis-systemd.x86_64 Package Contents on Amazon Linux 2

/usr/lib/systemd/system/clevis-luks-askpass.path
/usr/lib/systemd/system/clevis-luks-askpass.service
/usr/libexec/clevis-luks-askpass

References

Summary

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