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

In this tutorial we learn how to install tpm-tools-devel.x86_64 in Amazon Linux 2. tpm-tools-devel.x86_64 is Files to use the library routines supplied with tpm-tools

Introduction

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

What is tpm-tools-devel.x86_64

tpm-tools-devel is a package that contains the libraries and headers necessary for developing tpm-tools applications.

We can use yum to install tpm-tools-devel.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-tools-devel.x86_64.

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

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

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

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

sudo yum remove tpm-tools-devel.x86_64

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

/usr/include/tpm_tools
/usr/include/tpm_tools/tpm_unseal.h
/usr/lib64/libtpm_unseal.so
/usr/share/man/man3/tpmUnsealFile.3.gz
/usr/share/man/man3/tpmUnsealShred.3.gz
/usr/share/man/man3/tpmUnsealStrerror.3.gz

References

Summary

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