How To Install tpm-tools on CentOS 7
Introduction
In this tutorial we learn how to install tpm-tools on CentOS 7.
What is tpm-tools
tpm-tools is a group of tools to manage and utilize the Trusted Computing Group’s TPM hardware. TPM hardware can create, store and use RSA keys securely (without ever being exposed in memory), verify a platform’s software state using cryptographic hashes and more. tpm-tools is a group of tools to manage and utilize the Trusted Computing Group’s TPM hardware. TPM hardware can create, store and use RSA keys securely (without ever being exposed in memory), verify a platform’s software state using cryptographic hashes and more.
We can use yum or dnf to install tpm-tools on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install tpm-tools.
Install tpm-tools on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install tpm-tools using yum by running the following command:
sudo yum -y install tpm-tools
Install tpm-tools on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install tpm-tools using dnf by running the following command:
sudo dnf -y install tpm-tools
How To Uninstall tpm-tools on CentOS 7
To uninstall only the tpm-tools package we can use the following command:
sudo dnf remove tpm-tools
References
Summary
In this tutorial we learn how to install tpm-tools on CentOS 7 using yum and dnf.