How To Install clevis-pin-tpm2 on Fedora 36

In this tutorial we learn how to install clevis-pin-tpm2 in Fedora 36. clevis-pin-tpm2 is Clevis PIN for unlocking with TPM2 supporting Authorized Policies

Introduction

In this tutorial we learn how to install clevis-pin-tpm2 on Fedora 36.

What is clevis-pin-tpm2

Clevis PIN for unlocking with TPM2 supporting Authorized Policies.

We can use yum or dnf to install clevis-pin-tpm2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install clevis-pin-tpm2.

Install clevis-pin-tpm2 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install clevis-pin-tpm2

Install clevis-pin-tpm2 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install clevis-pin-tpm2

How To Uninstall clevis-pin-tpm2 on Fedora 36

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

sudo dnf remove clevis-pin-tpm2

clevis-pin-tpm2 Package Contents on Fedora 36

/usr/bin/clevis-decrypt-tpm2plus
/usr/bin/clevis-encrypt-tpm2plus
/usr/bin/clevis-pin-tpm2
/usr/lib/.build-id
/usr/lib/.build-id/91
/usr/lib/.build-id/91/bb42a4d285bfa964d09613384e18b4f8bebd1b
/usr/share/licenses/clevis-pin-tpm2
/usr/share/licenses/clevis-pin-tpm2/LICENSE

References

Summary

In this tutorial we learn how to install clevis-pin-tpm2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).