How To Install trousers.x86_64 on Amazon Linux 2

In this tutorial we learn how to install trousers.x86_64 in Amazon Linux 2. trousers.x86_64 is TCG’s Software Stack v1.2

Introduction

In this tutorial we learn how to install trousers.x86_64 on Amazon Linux 2.

What is trousers.x86_64

TrouSerS is an implementation of the Trusted Computing Group’s Software Stack (TSS) specification. You can use TrouSerS to write applications that make use of your 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 trousers.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install trousers.x86_64.

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

sudo yum -y install trousers.x86_64

How To Uninstall trousers.x86_64 on Amazon Linux 2

To uninstall only the trousers.x86_64 package we can use the following command:

sudo yum remove trousers.x86_64

trousers.x86_64 Package Contents on Amazon Linux 2

/etc/tcsd.conf
/usr/lib/systemd/system/tcsd.service
/usr/lib64/libtspi.so.1
/usr/lib64/libtspi.so.1.2.0
/usr/sbin/tcsd
/usr/share/doc/trousers-0.3.14
/usr/share/doc/trousers-0.3.14/ChangeLog
/usr/share/doc/trousers-0.3.14/LICENSE
/usr/share/doc/trousers-0.3.14/README
/usr/share/man/man5/tcsd.conf.5.gz
/usr/share/man/man8/tcsd.8.gz
/var/lib/tpm

References

Summary

In this tutorial we learn how to install trousers.x86_64 on Amazon Linux 2 using yum.