How To Install p11-kit on Rocky Linux 8

In this tutorial we learn how to install p11-kit on Rocky Linux 8. p11-kit is Library for loading and sharing PKCS#11 modules

Introduction

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

What is p11-kit

p11-kit provides a way to load and enumerate PKCS#11 modules, as well as a standard configuration setup for installing PKCS#11 modules in such a way that they’re discoverable.

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

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

sudo dnf -y install p11-kit

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

sudo yum -y install p11-kit

How To Uninstall p11-kit on Rocky Linux 8

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

sudo dnf remove p11-kit

p11-kit Package Contents on Rocky Linux 8

/etc/pkcs11
/etc/pkcs11/modules
/usr/bin/p11-kit
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/09c02170f591ebe64e2a9f70597f858c294185
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/ff40a3b868757694b4c49d28adbf432c8449b6
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/3858abab54679b3eabff7432f5efc62b6efd4c
/usr/lib64/libp11-kit.so.0
/usr/lib64/libp11-kit.so.0.3.0
/usr/lib64/p11-kit-proxy.so
/usr/libexec/p11-kit
/usr/libexec/p11-kit/p11-kit-remote
/usr/share/bash-completion/completions/p11-kit
/usr/share/doc/p11-kit
/usr/share/doc/p11-kit/AUTHORS
/usr/share/doc/p11-kit/NEWS
/usr/share/doc/p11-kit/README
/usr/share/doc/p11-kit/pkcs11.conf.example
/usr/share/licenses/p11-kit
/usr/share/licenses/p11-kit/COPYING
/usr/share/locale/ar/LC_MESSAGES/p11-kit.mo
/usr/share/locale/as/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ast/LC_MESSAGES/p11-kit.mo
/usr/share/locale/az/LC_MESSAGES/p11-kit.mo
/usr/share/locale/bg/LC_MESSAGES/p11-kit.mo
/usr/share/locale/bn_IN/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ca/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/p11-kit.mo
/usr/share/locale/cs/LC_MESSAGES/p11-kit.mo
/usr/share/locale/cy/LC_MESSAGES/p11-kit.mo
/usr/share/locale/da/LC_MESSAGES/p11-kit.mo
/usr/share/locale/de/LC_MESSAGES/p11-kit.mo
/usr/share/locale/el/LC_MESSAGES/p11-kit.mo
/usr/share/locale/en_GB/LC_MESSAGES/p11-kit.mo
/usr/share/locale/eo/LC_MESSAGES/p11-kit.mo
/usr/share/locale/es/LC_MESSAGES/p11-kit.mo
/usr/share/locale/et/LC_MESSAGES/p11-kit.mo
/usr/share/locale/eu/LC_MESSAGES/p11-kit.mo
/usr/share/locale/fa/LC_MESSAGES/p11-kit.mo
/usr/share/locale/fi/LC_MESSAGES/p11-kit.mo
/usr/share/locale/fo/LC_MESSAGES/p11-kit.mo
/usr/share/locale/fr/LC_MESSAGES/p11-kit.mo
/usr/share/locale/fur/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ga/LC_MESSAGES/p11-kit.mo
/usr/share/locale/gl/LC_MESSAGES/p11-kit.mo
/usr/share/locale/gu/LC_MESSAGES/p11-kit.mo
/usr/share/locale/he/LC_MESSAGES/p11-kit.mo
/usr/share/locale/hi/LC_MESSAGES/p11-kit.mo
/usr/share/locale/hr/LC_MESSAGES/p11-kit.mo
/usr/share/locale/hu/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ia/LC_MESSAGES/p11-kit.mo
/usr/share/locale/id/LC_MESSAGES/p11-kit.mo
/usr/share/locale/it/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ja/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ka/LC_MESSAGES/p11-kit.mo
/usr/share/locale/kk/LC_MESSAGES/p11-kit.mo
/usr/share/locale/kn/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ko/LC_MESSAGES/p11-kit.mo
/usr/share/locale/lt/LC_MESSAGES/p11-kit.mo
/usr/share/locale/lv/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ml/LC_MESSAGES/p11-kit.mo
/usr/share/locale/mr/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ms/LC_MESSAGES/p11-kit.mo
/usr/share/locale/nb/LC_MESSAGES/p11-kit.mo
/usr/share/locale/nl/LC_MESSAGES/p11-kit.mo
/usr/share/locale/nn/LC_MESSAGES/p11-kit.mo
/usr/share/locale/oc/LC_MESSAGES/p11-kit.mo
/usr/share/locale/or/LC_MESSAGES/p11-kit.mo
/usr/share/locale/pa/LC_MESSAGES/p11-kit.mo
/usr/share/locale/pl/LC_MESSAGES/p11-kit.mo
/usr/share/locale/pt/LC_MESSAGES/p11-kit.mo
/usr/share/locale/pt_BR/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ro/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ru/LC_MESSAGES/p11-kit.mo
/usr/share/locale/sk/LC_MESSAGES/p11-kit.mo
/usr/share/locale/sl/LC_MESSAGES/p11-kit.mo
/usr/share/locale/sq/LC_MESSAGES/p11-kit.mo
/usr/share/locale/sr/LC_MESSAGES/p11-kit.mo
/usr/share/locale/sr@latin/LC_MESSAGES/p11-kit.mo
/usr/share/locale/sv/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ta/LC_MESSAGES/p11-kit.mo
/usr/share/locale/te/LC_MESSAGES/p11-kit.mo
/usr/share/locale/th/LC_MESSAGES/p11-kit.mo
/usr/share/locale/tr/LC_MESSAGES/p11-kit.mo
/usr/share/locale/uk/LC_MESSAGES/p11-kit.mo
/usr/share/locale/vi/LC_MESSAGES/p11-kit.mo
/usr/share/locale/wa/LC_MESSAGES/p11-kit.mo
/usr/share/locale/zh_CN/LC_MESSAGES/p11-kit.mo
/usr/share/locale/zh_HK/LC_MESSAGES/p11-kit.mo
/usr/share/locale/zh_TW/LC_MESSAGES/p11-kit.mo
/usr/share/man/man1/trust.1.gz
/usr/share/man/man5/pkcs11.conf.5.gz
/usr/share/man/man8/p11-kit.8.gz
/usr/share/p11-kit
/usr/share/p11-kit/modules
/etc/pkcs11
/etc/pkcs11/modules
/usr/bin/p11-kit
/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/1fd10155a31e519fe67f8af89222b4e091adac
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/3287a73bb30ce7139837dc588938c2332e1404
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/dfd2045dc6b55e156c354f62b58594596038f7
/usr/lib/libp11-kit.so.0
/usr/lib/libp11-kit.so.0.3.0
/usr/lib/p11-kit-proxy.so
/usr/libexec/p11-kit
/usr/libexec/p11-kit/p11-kit-remote
/usr/share/bash-completion/completions/p11-kit
/usr/share/doc/p11-kit
/usr/share/doc/p11-kit/AUTHORS
/usr/share/doc/p11-kit/NEWS
/usr/share/doc/p11-kit/README
/usr/share/doc/p11-kit/pkcs11.conf.example
/usr/share/licenses/p11-kit
/usr/share/licenses/p11-kit/COPYING
/usr/share/locale/ar/LC_MESSAGES/p11-kit.mo
/usr/share/locale/as/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ast/LC_MESSAGES/p11-kit.mo
/usr/share/locale/az/LC_MESSAGES/p11-kit.mo
/usr/share/locale/bg/LC_MESSAGES/p11-kit.mo
/usr/share/locale/bn_IN/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ca/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/p11-kit.mo
/usr/share/locale/cs/LC_MESSAGES/p11-kit.mo
/usr/share/locale/cy/LC_MESSAGES/p11-kit.mo
/usr/share/locale/da/LC_MESSAGES/p11-kit.mo
/usr/share/locale/de/LC_MESSAGES/p11-kit.mo
/usr/share/locale/el/LC_MESSAGES/p11-kit.mo
/usr/share/locale/en_GB/LC_MESSAGES/p11-kit.mo
/usr/share/locale/eo/LC_MESSAGES/p11-kit.mo
/usr/share/locale/es/LC_MESSAGES/p11-kit.mo
/usr/share/locale/et/LC_MESSAGES/p11-kit.mo
/usr/share/locale/eu/LC_MESSAGES/p11-kit.mo
/usr/share/locale/fa/LC_MESSAGES/p11-kit.mo
/usr/share/locale/fi/LC_MESSAGES/p11-kit.mo
/usr/share/locale/fo/LC_MESSAGES/p11-kit.mo
/usr/share/locale/fr/LC_MESSAGES/p11-kit.mo
/usr/share/locale/fur/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ga/LC_MESSAGES/p11-kit.mo
/usr/share/locale/gl/LC_MESSAGES/p11-kit.mo
/usr/share/locale/gu/LC_MESSAGES/p11-kit.mo
/usr/share/locale/he/LC_MESSAGES/p11-kit.mo
/usr/share/locale/hi/LC_MESSAGES/p11-kit.mo
/usr/share/locale/hr/LC_MESSAGES/p11-kit.mo
/usr/share/locale/hu/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ia/LC_MESSAGES/p11-kit.mo
/usr/share/locale/id/LC_MESSAGES/p11-kit.mo
/usr/share/locale/it/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ja/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ka/LC_MESSAGES/p11-kit.mo
/usr/share/locale/kk/LC_MESSAGES/p11-kit.mo
/usr/share/locale/kn/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ko/LC_MESSAGES/p11-kit.mo
/usr/share/locale/lt/LC_MESSAGES/p11-kit.mo
/usr/share/locale/lv/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ml/LC_MESSAGES/p11-kit.mo
/usr/share/locale/mr/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ms/LC_MESSAGES/p11-kit.mo
/usr/share/locale/nb/LC_MESSAGES/p11-kit.mo
/usr/share/locale/nl/LC_MESSAGES/p11-kit.mo
/usr/share/locale/nn/LC_MESSAGES/p11-kit.mo
/usr/share/locale/oc/LC_MESSAGES/p11-kit.mo
/usr/share/locale/or/LC_MESSAGES/p11-kit.mo
/usr/share/locale/pa/LC_MESSAGES/p11-kit.mo
/usr/share/locale/pl/LC_MESSAGES/p11-kit.mo
/usr/share/locale/pt/LC_MESSAGES/p11-kit.mo
/usr/share/locale/pt_BR/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ro/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ru/LC_MESSAGES/p11-kit.mo
/usr/share/locale/sk/LC_MESSAGES/p11-kit.mo
/usr/share/locale/sl/LC_MESSAGES/p11-kit.mo
/usr/share/locale/sq/LC_MESSAGES/p11-kit.mo
/usr/share/locale/sr/LC_MESSAGES/p11-kit.mo
/usr/share/locale/sr@latin/LC_MESSAGES/p11-kit.mo
/usr/share/locale/sv/LC_MESSAGES/p11-kit.mo
/usr/share/locale/ta/LC_MESSAGES/p11-kit.mo
/usr/share/locale/te/LC_MESSAGES/p11-kit.mo
/usr/share/locale/th/LC_MESSAGES/p11-kit.mo
/usr/share/locale/tr/LC_MESSAGES/p11-kit.mo
/usr/share/locale/uk/LC_MESSAGES/p11-kit.mo
/usr/share/locale/vi/LC_MESSAGES/p11-kit.mo
/usr/share/locale/wa/LC_MESSAGES/p11-kit.mo
/usr/share/locale/zh_CN/LC_MESSAGES/p11-kit.mo
/usr/share/locale/zh_HK/LC_MESSAGES/p11-kit.mo
/usr/share/locale/zh_TW/LC_MESSAGES/p11-kit.mo
/usr/share/man/man1/trust.1.gz
/usr/share/man/man5/pkcs11.conf.5.gz
/usr/share/man/man8/p11-kit.8.gz
/usr/share/p11-kit
/usr/share/p11-kit/modules

References

Summary

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