How To Install tpm-quote-tools.x86_64 on Amazon Linux 2

In this tutorial we learn how to install tpm-quote-tools.x86_64 in Amazon Linux 2. tpm-quote-tools.x86_64 is TPM-based attestation using the TPM quote operation (tools)

Introduction

In this tutorial we learn how to install tpm-quote-tools.x86_64 on Amazon Linux 2.

What is tpm-quote-tools.x86_64

TPM Quote Tools is a collection of programs that provide support for TPM based attestation using the TPM quote operation.

We can use yum to install tpm-quote-tools.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install tpm-quote-tools.x86_64.

Install tpm-quote-tools.x86_64 on Amazon Linux 2 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.x86_64 using yum by running the following command:

sudo yum -y install tpm-quote-tools.x86_64

How To Uninstall tpm-quote-tools.x86_64 on Amazon Linux 2

To uninstall only the tpm-quote-tools.x86_64 package we can use the following command:

sudo yum remove tpm-quote-tools.x86_64

tpm-quote-tools.x86_64 Package Contents on Amazon Linux 2

/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/share/doc/tpm-quote-tools-1.0.2
/usr/share/doc/tpm-quote-tools-1.0.2/AUTHORS
/usr/share/doc/tpm-quote-tools-1.0.2/COPYING
/usr/share/doc/tpm-quote-tools-1.0.2/ChangeLog
/usr/share/doc/tpm-quote-tools-1.0.2/NEWS
/usr/share/doc/tpm-quote-tools-1.0.2/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.x86_64 on Amazon Linux 2 using yum.