How To Install tpm-tools-pkcs11.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install tpm-tools-pkcs11.x86_64
on Amazon Linux 2.
What is tpm-tools-pkcs11.x86_64
tpm-tools-pkcs11 is a group of tools that use the TPM PKCS#11 token. All data contained in the PKCS#11 data store is protected by the TPM (keys, certificates, etc.). You can import keys and certificates, list out the objects in the data store, and protect data.
We can use yum
to install tpm-tools-pkcs11.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-pkcs11.x86_64.
Install tpm-tools-pkcs11.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-pkcs11.x86_64
using yum
by running the following command:
sudo yum -y install tpm-tools-pkcs11.x86_64
How To Uninstall tpm-tools-pkcs11.x86_64 on Amazon Linux 2
To uninstall only the tpm-tools-pkcs11.x86_64
package we can use the following command:
sudo yum remove tpm-tools-pkcs11.x86_64
tpm-tools-pkcs11.x86_64 Package Contents on Amazon Linux 2
/usr/bin/tpmtoken_import
/usr/bin/tpmtoken_init
/usr/bin/tpmtoken_objects
/usr/bin/tpmtoken_protect
/usr/bin/tpmtoken_setpasswd
/usr/share/doc/tpm-tools-pkcs11-1.3.9
/usr/share/doc/tpm-tools-pkcs11-1.3.9/LICENSE
/usr/share/man/man1/tpmtoken_import.1.gz
/usr/share/man/man1/tpmtoken_init.1.gz
/usr/share/man/man1/tpmtoken_objects.1.gz
/usr/share/man/man1/tpmtoken_protect.1.gz
/usr/share/man/man1/tpmtoken_setpasswd.1.gz
References
Summary
In this tutorial we learn how to install tpm-tools-pkcs11.x86_64
on Amazon Linux 2 using yum.