clevis-decrypt-tpm2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
clevis-decrypt-tpm2: command not found
or when using sudo you get the following error message
sudo: clevis-decrypt-tpm2: command not found
Solutions to clevis-decrypt-tpm2: command not found
How To Fix clevis-decrypt-tpm2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu clevis-decrypt-tpm2 is provided by clevis-tpm2 package.
clevis-tpm2 is:
Clevis is a plugable framework for automated decryption. It can be used to provide automated decryption of data or even automated unlocking of LUKS volumes.
This package provides the TPM2 pin.
To fix this problem, we can install more using the command below.
sudo apt-get -y install clevis-tpm2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install clevis-tpm2.
sudo apt -y install clevis-tpm2
Or if you have aptitude installed you can use the following command.
sudo aptitude install clevis-tpm2
Summary
In this tutorial we learn how to fix clevis-decrypt-tpm2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.