How To Install liblognorm on Rocky Linux 8

In this tutorial we learn how to install liblognorm on Rocky Linux 8. liblognorm is Fast samples-based log normalization library

Introduction

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

What is liblognorm

Briefly described, liblognorm is a tool to normalize log data. People who need to take a look at logs often have a common problem. Logs from different machines (from different vendors) usually have different formats for their logs. Even if it is the same type of log (e.g. from firewalls), the log entries are so different, that it is pretty hard to read these. This is where liblognorm comes into the game. With this tool you can normalize all your logs. All you need is liblognorm and its dependencies and a sample database that fits the logs you want to normalize.

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

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

sudo dnf -y install liblognorm

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

sudo yum -y install liblognorm

How To Uninstall liblognorm on Rocky Linux 8

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

sudo dnf remove liblognorm

liblognorm Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/54
/usr/lib/.build-id/54/dd732cd4cdb8a612b9b746fa474db6f6772054
/usr/lib64/liblognorm.so.5
/usr/lib64/liblognorm.so.5.1.0
/usr/share/doc/liblognorm
/usr/share/doc/liblognorm/AUTHORS
/usr/share/doc/liblognorm/ChangeLog
/usr/share/doc/liblognorm/README
/usr/share/licenses/liblognorm
/usr/share/licenses/liblognorm/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/b2d79704b9be52b9c8f62d77e7c6df48869ed5
/usr/lib/liblognorm.so.5
/usr/lib/liblognorm.so.5.1.0
/usr/share/doc/liblognorm
/usr/share/doc/liblognorm/AUTHORS
/usr/share/doc/liblognorm/ChangeLog
/usr/share/doc/liblognorm/README
/usr/share/licenses/liblognorm
/usr/share/licenses/liblognorm/COPYING

References

Summary

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