How To Install ykpers on CentOS 8

ykpers is Yubikey personalization program

Introduction

In this tutorial we learn how to install ykpers on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install ykpers.

Install ykpers on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install ykpers using dnf by running the following command:

sudo dnf -y install ykpers

Install ykpers on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove ykpers

ykpers Package Contents on CentOS 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 CentOS 8 using yum and dnf.