How To Install opencryptoki-libs.i686 on Amazon Linux 2
Introduction
In this tutorial we learn how to install opencryptoki-libs.i686 on Amazon Linux 2.
What is opencryptoki-libs.i686
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 contains the PKCS#11 library implementation, and requires at least one token implementation (packaged separately) to be fully functional.
We can use yum to install opencryptoki-libs.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install opencryptoki-libs.i686.
Install opencryptoki-libs.i686 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 opencryptoki-libs.i686 using yum by running the following command:
sudo yum -y install opencryptoki-libs.i686
How To Uninstall opencryptoki-libs.i686 on Amazon Linux 2
To uninstall only the opencryptoki-libs.i686 package we can use the following command:
sudo yum remove opencryptoki-libs.i686
opencryptoki-libs.i686 Package Contents on Amazon Linux 2
/etc/ld.so.conf.d/opencryptoki-i686.conf
/usr/lib/opencryptoki
/usr/lib/opencryptoki/PKCS11_API.so
/usr/lib/opencryptoki/libopencryptoki.so
/usr/lib/opencryptoki/libopencryptoki.so.0
/usr/lib/opencryptoki/libopencryptoki.so.0.0.0
/usr/lib/opencryptoki/stdll
/usr/lib/pkcs11
/usr/lib/pkcs11/PKCS11_API.so
/usr/lib/pkcs11/libopencryptoki.so
/usr/lib/pkcs11/stdll
/usr/share/doc/opencryptoki-libs-3.7.0
/usr/share/doc/opencryptoki-libs-3.7.0/LICENSE
References
Summary
In this tutorial we learn how to install opencryptoki-libs.i686 on Amazon Linux 2 using yum.