How To Install keyutils-libs on Rocky Linux 8

In this tutorial we learn how to install keyutils-libs on Rocky Linux 8. keyutils-libs is Key utilities library

Introduction

In this tutorial we learn how to install keyutils-libs on Rocky Linux 8.

What is keyutils-libs

This package provides a wrapper library for the key management facility system calls.

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

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

sudo dnf -y install keyutils-libs

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

sudo yum -y install keyutils-libs

How To Uninstall keyutils-libs on Rocky Linux 8

To uninstall only the keyutils-libs package we can use the following command:

sudo dnf remove keyutils-libs

keyutils-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/1aa0fdbbf72ba6b2daf9fafbc37be861c7d8f4
/usr/lib/libkeyutils.so.1
/usr/lib/libkeyutils.so.1.6
/usr/share/licenses/keyutils-libs
/usr/share/licenses/keyutils-libs/LICENCE.LGPL
/usr/share/man/man7/keyutils.7.gz
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/32a2c5ade3b1e181d51d1f66c5dcde91be15e5
/usr/lib64/libkeyutils.so.1
/usr/lib64/libkeyutils.so.1.6
/usr/share/licenses/keyutils-libs
/usr/share/licenses/keyutils-libs/LICENCE.LGPL
/usr/share/man/man7/keyutils.7.gz

References

Summary

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