How To Install tpm-quote-tools on CentOS 8
Introduction
In this tutorial we learn how to install tpm-quote-tools
on CentOS 8.
What is tpm-quote-tools
TPM Quote Tools is a collection of programs that provide support for TPM based attestation using the TPM quote operation.
We can use yum
or dnf
to install tpm-quote-tools
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install tpm-quote-tools.
Install tpm-quote-tools on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install tpm-quote-tools
using dnf
by running the following command:
sudo dnf -y install tpm-quote-tools
Install tpm-quote-tools on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install tpm-quote-tools
using yum
by running the following command:
sudo yum -y install tpm-quote-tools
How To Uninstall tpm-quote-tools on CentOS 8
To uninstall only the tpm-quote-tools
package we can use the following command:
sudo dnf remove tpm-quote-tools
tpm-quote-tools Package Contents on CentOS 8
/usr/bin/tpm_getpcrhash
/usr/bin/tpm_getquote
/usr/bin/tpm_loadkey
/usr/bin/tpm_mkaik
/usr/bin/tpm_mkuuid
/usr/bin/tpm_unloadkey
/usr/bin/tpm_updatepcrhash
/usr/bin/tpm_verifyquote
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/e1f5b2ab4ad68e94dbbd608dfbd3ff848760bf
/usr/lib/.build-id/13
/usr/lib/.build-id/13/9603a8f4a54c38e8a2456f63d3ebd07cc67989
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/e8764190ef3f82cfb5ff5131858659d0718ff2
/usr/lib/.build-id/96
/usr/lib/.build-id/96/89dafee902530d7675e645f1f74677dc9a6cca
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/2d595ae632bbbd208ac6e01fe8e60acf7ea46d
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/e315313e2e79062d78f6f141d0bf4bdc7487cd
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/d996017e0602b50305153e61ca5ab7452e18dc
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/fb1df1c30a14790612bc40bc4548ffcc2efcf4
/usr/share/doc/tpm-quote-tools
/usr/share/doc/tpm-quote-tools/AUTHORS
/usr/share/doc/tpm-quote-tools/COPYING
/usr/share/doc/tpm-quote-tools/ChangeLog
/usr/share/doc/tpm-quote-tools/NEWS
/usr/share/doc/tpm-quote-tools/README
/usr/share/man/man8/tpm_getpcrhash.8.gz
/usr/share/man/man8/tpm_getquote.8.gz
/usr/share/man/man8/tpm_loadkey.8.gz
/usr/share/man/man8/tpm_mkaik.8.gz
/usr/share/man/man8/tpm_mkuuid.8.gz
/usr/share/man/man8/tpm_quote_tools.8.gz
/usr/share/man/man8/tpm_unloadkey.8.gz
/usr/share/man/man8/tpm_updatepcrhash.8.gz
/usr/share/man/man8/tpm_verifyquote.8.gz
References
Summary
In this tutorial we learn how to install tpm-quote-tools
on CentOS 8 using yum and dnf.