How To Install p11-kit-server on Rocky Linux 8

In this tutorial we learn how to install p11-kit-server on Rocky Linux 8. p11-kit-server is Server and client commands for p11-kit

Introduction

In this tutorial we learn how to install p11-kit-server on Rocky Linux 8.

What is p11-kit-server

The p11-kit-server package contains command line tools that enable to export PKCS#11 modules through a Unix domain socket. Note that this feature is still experimental.

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

Install p11-kit-server 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 p11-kit-server using dnf by running the following command:

sudo dnf -y install p11-kit-server

Install p11-kit-server 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 p11-kit-server using yum by running the following command:

sudo yum -y install p11-kit-server

How To Uninstall p11-kit-server on Rocky Linux 8

To uninstall only the p11-kit-server package we can use the following command:

sudo dnf remove p11-kit-server

p11-kit-server Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/5f9734ca10c591ee9ebc5638be2af096ba5dc4
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/3d09a065e87899bbcc61e9fd9519061d2adae0
/usr/lib/systemd/user/p11-kit-client.service
/usr/lib/systemd/user/p11-kit-server.service
/usr/lib/systemd/user/p11-kit-server.socket
/usr/lib64/pkcs11/p11-kit-client.so
/usr/libexec/p11-kit/p11-kit-server

References

Summary

In this tutorial we learn how to install p11-kit-server on Rocky Linux 8 using yum and dnf.