How To Install opencryptoki-icsftok on Rocky Linux 8
Introduction
In this tutorial we learn how to install opencryptoki-icsftok on Rocky Linux 8.
What is opencryptoki-icsftok
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 ICSF token in the opencryptoki stack.
We can use yum or dnf to install opencryptoki-icsftok on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install opencryptoki-icsftok.
Install opencryptoki-icsftok 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-icsftok using dnf by running the following command:
sudo dnf -y install opencryptoki-icsftok
Install opencryptoki-icsftok 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-icsftok using yum by running the following command:
sudo yum -y install opencryptoki-icsftok
How To Uninstall opencryptoki-icsftok on Rocky Linux 8
To uninstall only the opencryptoki-icsftok package we can use the following command:
sudo dnf remove opencryptoki-icsftok
opencryptoki-icsftok Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/e0500eb9279246b4747fa5dd993642e4cecd71
/usr/lib/.build-id/c1/979c6ecbb2612bb6e8dc653bfccef94f7cb7aa
/usr/lib64/opencryptoki/stdll/PKCS11_ICSF.so
/usr/lib64/opencryptoki/stdll/libpkcs11_icsf.so
/usr/lib64/opencryptoki/stdll/libpkcs11_icsf.so.0
/usr/lib64/opencryptoki/stdll/libpkcs11_icsf.so.0.0.0
/usr/sbin/pkcsicsf
/usr/share/doc/opencryptoki-icsftok
/usr/share/doc/opencryptoki-icsftok/README.icsf_stdll
/usr/share/man/man1/pkcsicsf.1.gz
/var/lib/opencryptoki/icsf
References
Summary
In this tutorial we learn how to install opencryptoki-icsftok on Rocky Linux 8 using yum and dnf.