How To Install tpm-quote-tools on Rocky Linux 8

In this tutorial we learn how to install tpm-quote-tools on Rocky Linux 8. tpm-quote-tools is TPM-based attestation using the TPM quote operation (tools)

Introduction

In this tutorial we learn how to install tpm-quote-tools on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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 Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 Rocky Linux 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 Rocky Linux 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/12
/usr/lib/.build-id/12/a795c9585f3e43df2dd0e47b782ea3ad9a1176
/usr/lib/.build-id/38
/usr/lib/.build-id/38/0cfd9ba72730e2c4f5449b054bd344a8876d4a
/usr/lib/.build-id/55
/usr/lib/.build-id/55/7955985a8523af7ca95f87ab2820f138a8f156
/usr/lib/.build-id/61
/usr/lib/.build-id/61/4d8350a48f24d8cd2cc5908fc1fcb2c5b1578a
/usr/lib/.build-id/91
/usr/lib/.build-id/91/396b424f621054cf12e4f1c12c37ae15c5f8c0
/usr/lib/.build-id/af
/usr/lib/.build-id/af/3245a5a7ae2317ca84d1f4d5b72fa2b157b958
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/49f8d3d319f00e14d15793f9d4d4f6b189a896
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/6c7b43851f63df2b3dd6f1730feb2fd8228d93
/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 Rocky Linux 8 using yum and dnf.