How To Install softhsm on Rocky Linux 8
Introduction
In this tutorial we learn how to install softhsm
on Rocky Linux 8.
What is softhsm
OpenDNSSEC is providing a software implementation of a generic cryptographic device with a PKCS#11 interface, the SoftHSM. SoftHSM is designed to meet the requirements of OpenDNSSEC, but can also work together with other cryptographic products because of the PKCS#11 interface.
We can use yum
or dnf
to install softhsm
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install softhsm.
Install softhsm 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 softhsm
using dnf
by running the following command:
sudo dnf -y install softhsm
Install softhsm 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 softhsm
using yum
by running the following command:
sudo yum -y install softhsm
How To Uninstall softhsm on Rocky Linux 8
To uninstall only the softhsm
package we can use the following command:
sudo dnf remove softhsm
softhsm Package Contents on Rocky Linux 8
/etc/softhsm2.conf
/usr/bin/softhsm2-dump-file
/usr/bin/softhsm2-keyconv
/usr/bin/softhsm2-migrate
/usr/bin/softhsm2-util
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/4282eef168cf2102b54cb9b4cbcd483f8961bc
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/85b578ae50ac619a64ceced5a8ec942e29c14e
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/9ab5c4d7c875f9f7ad641daf21a117b27dff76
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/77cdcb7ff4e3aff29353e7bab8b9b8bb9b8be3
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/c39c0e3b76999296fde2908a6cc04b0b02559c
/usr/lib64/libsofthsm2.so
/usr/lib64/pkcs11/libsofthsm2.so
/usr/lib64/softhsm
/usr/lib64/softhsm/libsofthsm.so
/usr/share/doc/softhsm
/usr/share/doc/softhsm/LICENSE
/usr/share/doc/softhsm/NEWS
/usr/share/doc/softhsm/README.md
/usr/share/man/man1/softhsm2-dump-file.1.gz
/usr/share/man/man1/softhsm2-keyconv.1.gz
/usr/share/man/man1/softhsm2-migrate.1.gz
/usr/share/man/man1/softhsm2-util.1.gz
/usr/share/man/man5/softhsm2.conf.5.gz
/usr/share/p11-kit/modules/softhsm2.module
/var/lib/softhsm
/var/lib/softhsm/tokens
References
Summary
In this tutorial we learn how to install softhsm
on Rocky Linux 8 using yum and dnf.