How To Install libksba on Rocky Linux 8

In this tutorial we learn how to install libksba on Rocky Linux 8. libksba is CMS and X.509 library

Introduction

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

What is libksba

KSBA (pronounced Kasbah) is a library to make X.509 certificates as well as the CMS easily accessible by other applications. Both specifications are building blocks of S/MIME and TLS.

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

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

sudo dnf -y install libksba

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

sudo yum -y install libksba

How To Uninstall libksba on Rocky Linux 8

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

sudo dnf remove libksba

libksba Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/4770873437e07e33a19d7f3c07873d605b2d0e
/usr/lib/libksba.so.8
/usr/lib/libksba.so.8.11.6
/usr/share/doc/libksba
/usr/share/doc/libksba/AUTHORS
/usr/share/doc/libksba/ChangeLog
/usr/share/doc/libksba/NEWS
/usr/share/doc/libksba/README
/usr/share/doc/libksba/THANKS
/usr/share/doc/libksba/TODO
/usr/share/licenses/libksba
/usr/share/licenses/libksba/COPYING
/usr/share/licenses/libksba/COPYING.GPLv2
/usr/share/licenses/libksba/COPYING.GPLv3
/usr/share/licenses/libksba/COPYING.LGPLv3
/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/c3b21181d10200264acd2428f80aac530fd711
/usr/lib64/libksba.so.8
/usr/lib64/libksba.so.8.11.6
/usr/share/doc/libksba
/usr/share/doc/libksba/AUTHORS
/usr/share/doc/libksba/ChangeLog
/usr/share/doc/libksba/NEWS
/usr/share/doc/libksba/README
/usr/share/doc/libksba/THANKS
/usr/share/doc/libksba/TODO
/usr/share/licenses/libksba
/usr/share/licenses/libksba/COPYING
/usr/share/licenses/libksba/COPYING.GPLv2
/usr/share/licenses/libksba/COPYING.GPLv3
/usr/share/licenses/libksba/COPYING.LGPLv3

References

Summary

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