How To Install liblognorm on AlmaLinux 8

In this tutorial we learn how to install liblognorm in AlmaLinux 8. liblognorm is Fast samples-based log normalization library

Introduction

In this tutorial we learn how to install liblognorm on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install liblognorm.

Install liblognorm on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove liblognorm

References

Summary

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