How To Install audit-libs on Rocky Linux 8

In this tutorial we learn how to install audit-libs on Rocky Linux 8. audit-libs is Dynamic library for libaudit

Introduction

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

What is audit-libs

The audit-libs package contains the dynamic libraries needed for applications to use the audit framework.

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

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

sudo dnf -y install audit-libs

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

sudo yum -y install audit-libs

How To Uninstall audit-libs on Rocky Linux 8

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

sudo dnf remove audit-libs

audit-libs Package Contents on Rocky Linux 8

/etc/libaudit.conf
/lib/libaudit.so.1
/lib/libaudit.so.1.0.0
/lib/libauparse.so.0
/lib/libauparse.so.0.0.0
/usr/lib/.build-id
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/6ca7b39944b90f5416fe435a8108f42a14a175
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/ba70b5ddbfc478d14e6a8c874b4ef1ffada376
/usr/share/licenses/audit-libs
/usr/share/licenses/audit-libs/lgpl-2.1.txt
/usr/share/man/man5/libaudit.conf.5.gz
/etc/libaudit.conf
/lib64/libaudit.so.1
/lib64/libaudit.so.1.0.0
/lib64/libauparse.so.0
/lib64/libauparse.so.0.0.0
/usr/lib/.build-id
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/8e8ffe116216f69b2c4491e832714485b155bc
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/cb3af8b9b9f7733f9c354ecefcc87887482972
/usr/share/licenses/audit-libs
/usr/share/licenses/audit-libs/lgpl-2.1.txt
/usr/share/man/man5/libaudit.conf.5.gz

References

Summary

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