How To Install pakchois on CentOS 8

pakchois is A wrapper library for PKCS#11 A wrapper library for PKCS#11

Introduction

In this tutorial we learn how to install pakchois on CentOS 8.

What is pakchois

pakchois is just another PKCS#11 wrapper library. pakchois aims to provide a thin wrapper over the PKCS#11 interface; offering a modern object-oriented C interface which does not hide any of the underlying interface, and avoids dependencies on any cryptography toolkit. pakchois 0.4 17.el8 x86_64 20 k pakchois-0.4-17.el8.src.rpm appstream A wrapper library for PKCS#11 http LGPLv2+ pakchois is just another PKCS#11 wrapper library. pakchois aims to provide a thin wrapper over the PKCS#11 interface; offering a modern object-oriented C interface which does not hide any of the underlying interface, and avoids dependencies on any cryptography toolkit.

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

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

sudo dnf -y install pakchois

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

sudo yum -y install pakchois

How To Uninstall pakchois on CentOS 8

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

sudo dnf remove pakchois

pakchois Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/30d4875d71a927cd4f6e1b412d9302dc5ef88e
/usr/lib/libpakchois.so.0
/usr/lib/libpakchois.so.0.1.0
/usr/share/doc/pakchois
/usr/share/doc/pakchois/AUTHORS
/usr/share/doc/pakchois/NEWS
/usr/share/doc/pakchois/README
/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/72fd8ce32db244fce7e4e035ff20225a13d965
/usr/lib64/libpakchois.so.0
/usr/lib64/libpakchois.so.0.1.0
/usr/share/doc/pakchois
/usr/share/doc/pakchois/AUTHORS
/usr/share/doc/pakchois/NEWS
/usr/share/doc/pakchois/README

References

Summary

In this tutorial we learn how to install pakchois on CentOS 8 using yum and dnf.