How To Install libnids on Rocky Linux 8

In this tutorial we learn how to install libnids on Rocky Linux 8. libnids is Implementation of an E-component of Network Intrusion Detection System

Introduction

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

What is libnids

Libnids is an implementation of an E-component of Network Intrusion Detection System. It emulates the IP stack of Linux 2.x and offers IP defragmentation, TCP stream assembly and TCP port scan detection. Using libnids, one has got a convenient access to data carried by a TCP stream, no matter how artfully obscured by an attacker.

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

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

sudo dnf -y install libnids

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

sudo yum -y install libnids

How To Uninstall libnids on Rocky Linux 8

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

sudo dnf remove libnids

libnids Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/75
/usr/lib/.build-id/75/2638929b23445c13d5b7bdd37dceacde42395a
/usr/lib64/libnids.so.1.24
/usr/share/doc/libnids
/usr/share/doc/libnids/CHANGES
/usr/share/doc/libnids/CREDITS
/usr/share/doc/libnids/MISC
/usr/share/doc/libnids/README
/usr/share/licenses/libnids
/usr/share/licenses/libnids/COPYING

References

Summary

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