How To Install liblognorm.x86_64 on Amazon Linux 2

In this tutorial we learn how to install liblognorm.x86_64 in Amazon Linux 2. liblognorm.x86_64 is Fast samples-based log normalization library

Introduction

In this tutorial we learn how to install liblognorm.x86_64 on Amazon Linux 2.

What is liblognorm.x86_64

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

Install liblognorm.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install liblognorm.x86_64

How To Uninstall liblognorm.x86_64 on Amazon Linux 2

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

sudo yum remove liblognorm.x86_64

liblognorm.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/liblognorm.so.5
/usr/lib64/liblognorm.so.5.0.0
/usr/share/doc/liblognorm-2.0.2
/usr/share/doc/liblognorm-2.0.2/AUTHORS
/usr/share/doc/liblognorm-2.0.2/ChangeLog
/usr/share/doc/liblognorm-2.0.2/README
/usr/share/licenses/liblognorm-2.0.2
/usr/share/licenses/liblognorm-2.0.2/COPYING

References

Summary

In this tutorial we learn how to install liblognorm.x86_64 on Amazon Linux 2 using yum.