How To Install tpm-tools.i686 on Amazon Linux 2

In this tutorial we learn how to install tpm-tools.i686 in Amazon Linux 2. tpm-tools.i686 is Management tools for the TPM hardware

Introduction

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

What is tpm-tools.i686

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 to install tpm-tools.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install tpm-tools.i686.

Install tpm-tools.i686 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-tools.i686 using yum by running the following command:

sudo yum -y install tpm-tools.i686

How To Uninstall tpm-tools.i686 on Amazon Linux 2

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

sudo yum remove tpm-tools.i686

tpm-tools.i686 Package Contents on Amazon Linux 2

/usr/bin/tpm_sealdata
/usr/bin/tpm_unsealdata
/usr/lib/libtpm_unseal.so.1
/usr/lib/libtpm_unseal.so.1.0.0
/usr/sbin/tpm_changeownerauth
/usr/sbin/tpm_clear
/usr/sbin/tpm_createek
/usr/sbin/tpm_getpubek
/usr/sbin/tpm_nvdefine
/usr/sbin/tpm_nvinfo
/usr/sbin/tpm_nvread
/usr/sbin/tpm_nvrelease
/usr/sbin/tpm_nvwrite
/usr/sbin/tpm_resetdalock
/usr/sbin/tpm_restrictpubek
/usr/sbin/tpm_restrictsrk
/usr/sbin/tpm_revokeek
/usr/sbin/tpm_selftest
/usr/sbin/tpm_setactive
/usr/sbin/tpm_setclearable
/usr/sbin/tpm_setenable
/usr/sbin/tpm_setoperatorauth
/usr/sbin/tpm_setownable
/usr/sbin/tpm_setpresence
/usr/sbin/tpm_takeownership
/usr/sbin/tpm_version
/usr/share/doc/tpm-tools-1.3.9
/usr/share/doc/tpm-tools-1.3.9/LICENSE
/usr/share/doc/tpm-tools-1.3.9/README
/usr/share/man/man1/tpm_sealdata.1.gz
/usr/share/man/man1/tpm_version.1.gz
/usr/share/man/man8/tpm_changeownerauth.8.gz
/usr/share/man/man8/tpm_clear.8.gz
/usr/share/man/man8/tpm_createek.8.gz
/usr/share/man/man8/tpm_getpubek.8.gz
/usr/share/man/man8/tpm_nvdefine.8.gz
/usr/share/man/man8/tpm_nvinfo.8.gz
/usr/share/man/man8/tpm_nvread.8.gz
/usr/share/man/man8/tpm_nvrelease.8.gz
/usr/share/man/man8/tpm_nvwrite.8.gz
/usr/share/man/man8/tpm_resetdalock.8.gz
/usr/share/man/man8/tpm_restrictpubek.8.gz
/usr/share/man/man8/tpm_revokeek.8.gz
/usr/share/man/man8/tpm_selftest.8.gz
/usr/share/man/man8/tpm_setactive.8.gz
/usr/share/man/man8/tpm_setclearable.8.gz
/usr/share/man/man8/tpm_setenable.8.gz
/usr/share/man/man8/tpm_setoperatorauth.8.gz
/usr/share/man/man8/tpm_setownable.8.gz
/usr/share/man/man8/tpm_setpresence.8.gz
/usr/share/man/man8/tpm_takeownership.8.gz

References

Summary

In this tutorial we learn how to install tpm-tools.i686 on Amazon Linux 2 using yum.