How To Install liblognorm on CentOS 7

In this tutorial we learn how to install liblognorm on CentOS 7. liblognorm is Fast samples-based log normalization library

Introduction

In this tutorial we learn how to install liblognorm on CentOS 7.

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

Install liblognorm on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install liblognorm using yum by running the following command:

sudo yum -y install liblognorm

Install liblognorm on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install liblognorm using dnf by running the following command:

sudo dnf -y install liblognorm

How To Uninstall liblognorm on CentOS 7

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 CentOS 7 using yum and dnf.