How To Install ykpers on Rocky Linux 8

In this tutorial we learn how to install ykpers on Rocky Linux 8. ykpers is Yubikey personalization program

Introduction

In this tutorial we learn how to install ykpers on Rocky Linux 8.

What is ykpers

Yubico’s YubiKey can be re-programmed with a new AES key. This is a library that makes this an easy task.

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

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

sudo dnf -y install ykpers

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

sudo yum -y install ykpers

How To Uninstall ykpers on Rocky Linux 8

To uninstall only the ykpers package we can use the following command:

sudo dnf remove ykpers

ykpers Package Contents on Rocky Linux 8

/usr/bin/ykchalresp
/usr/bin/ykinfo
/usr/bin/ykpersonalize
/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/8ab189a424ddcea2c25bdc07de8173c58ad3c0
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/1b21213ac3aa7397a5d239599a979fe9da1128
/usr/lib/.build-id/51
/usr/lib/.build-id/51/877c18ff208f9c36e003ab4003656ac1df2268
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/08f0e8529e32c60f19f16096ba4395fb87b3d2
/usr/lib/udev/rules.d/69-yubikey.rules
/usr/lib64/libykpers-1.so.1
/usr/lib64/libykpers-1.so.1.20.0
/usr/share/doc/ykpers
/usr/share/doc/ykpers/AUTHORS
/usr/share/doc/ykpers/ChangeLog
/usr/share/doc/ykpers/Compatibility.asciidoc
/usr/share/doc/ykpers/NEWS
/usr/share/doc/ykpers/README
/usr/share/licenses/ykpers
/usr/share/licenses/ykpers/COPYING
/usr/share/man/man1/ykchalresp.1.gz
/usr/share/man/man1/ykinfo.1.gz
/usr/share/man/man1/ykpersonalize.1.gz

References

Summary

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