How To Install p11-kit-server.x86_64 on Amazon Linux 2

In this tutorial we learn how to install p11-kit-server.x86_64 in Amazon Linux 2. p11-kit-server.x86_64 is Server and client commands for p11-kit

Introduction

In this tutorial we learn how to install p11-kit-server.x86_64 on Amazon Linux 2.

What is p11-kit-server.x86_64

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 to install p11-kit-server.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install p11-kit-server.x86_64.

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

sudo yum -y install p11-kit-server.x86_64

How To Uninstall p11-kit-server.x86_64 on Amazon Linux 2

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

sudo yum remove p11-kit-server.x86_64

p11-kit-server.x86_64 Package Contents on Amazon Linux 2

/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.x86_64 on Amazon Linux 2 using yum.