How To Install opencryptoki-tpmtok on Rocky Linux 8
Introduction
In this tutorial we learn how to install opencryptoki-tpmtok
on Rocky Linux 8.
What is opencryptoki-tpmtok
Opencryptoki implements the PKCS#11 specification v2.11 for a set of cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the Trusted Platform Module (TPM) chip. Opencryptoki also brings a software token implementation that can be used without any cryptographic hardware. This package brings the necessary libraries and files to support Trusted Platform Module (TPM) devices in the opencryptoki stack.
We can use yum
or dnf
to install opencryptoki-tpmtok
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install opencryptoki-tpmtok.
Install opencryptoki-tpmtok on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install opencryptoki-tpmtok
using dnf
by running the following command:
sudo dnf -y install opencryptoki-tpmtok
Install opencryptoki-tpmtok on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install opencryptoki-tpmtok
using yum
by running the following command:
sudo yum -y install opencryptoki-tpmtok
How To Uninstall opencryptoki-tpmtok on Rocky Linux 8
To uninstall only the opencryptoki-tpmtok
package we can use the following command:
sudo dnf remove opencryptoki-tpmtok
opencryptoki-tpmtok Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/3c09b12a030770bc3c56ff41073cfe4d41f6d4
/usr/lib64/opencryptoki/stdll/PKCS11_TPM.so
/usr/lib64/opencryptoki/stdll/libpkcs11_tpm.so
/usr/lib64/opencryptoki/stdll/libpkcs11_tpm.so.0
/usr/lib64/opencryptoki/stdll/libpkcs11_tpm.so.0.0.0
/usr/share/doc/opencryptoki-tpmtok
/usr/share/doc/opencryptoki-tpmtok/README.tpm_stdll
/var/lib/opencryptoki/tpm
References
Summary
In this tutorial we learn how to install opencryptoki-tpmtok
on Rocky Linux 8 using yum and dnf.