How To Install opencryptoki-devel on Rocky Linux 8

In this tutorial we learn how to install opencryptoki-devel on Rocky Linux 8. opencryptoki-devel is Development files for openCryptoki

Introduction

In this tutorial we learn how to install opencryptoki-devel on Rocky Linux 8.

What is opencryptoki-devel

This package contains the development header files for building opencryptoki and PKCS#11 based applications

We can use yum or dnf to install opencryptoki-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install opencryptoki-devel.

Install opencryptoki-devel 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-devel using dnf by running the following command:

sudo dnf -y install opencryptoki-devel

Install opencryptoki-devel 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-devel using yum by running the following command:

sudo yum -y install opencryptoki-devel

How To Uninstall opencryptoki-devel on Rocky Linux 8

To uninstall only the opencryptoki-devel package we can use the following command:

sudo dnf remove opencryptoki-devel

opencryptoki-devel Package Contents on Rocky Linux 8

/usr/include/opencryptoki
/usr/include/opencryptoki/apiclient.h
/usr/include/opencryptoki/ec_curves.h
/usr/include/opencryptoki/pkcs11.h
/usr/include/opencryptoki/pkcs11types.h

References

Summary

In this tutorial we learn how to install opencryptoki-devel on Rocky Linux 8 using yum and dnf.