How To Install libnids-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install libnids-devel on Rocky Linux 8.
What is libnids-devel
This package package includes header files and libraries necessary for developing programs which use the libnids library. It contains the API documentation of the library, too.
We can use yum or dnf to install libnids-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libnids-devel.
Install libnids-devel 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-devel using dnf by running the following command:
sudo dnf -y install libnids-devel
Install libnids-devel 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-devel using yum by running the following command:
sudo yum -y install libnids-devel
How To Uninstall libnids-devel on Rocky Linux 8
To uninstall only the libnids-devel package we can use the following command:
sudo dnf remove libnids-devel
libnids-devel Package Contents on Rocky Linux 8
/usr/include/nids.h
/usr/lib64/libnids.so
/usr/share/doc/libnids-devel
/usr/share/doc/libnids-devel/API.html
/usr/share/doc/libnids-devel/API.txt
/usr/share/doc/libnids-devel/LINUX
/usr/share/doc/libnids-devel/NEW_LIBPCAP
/usr/share/doc/libnids-devel/PATCH
/usr/share/doc/libnids-devel/PERFORMANCE
/usr/share/doc/libnids-devel/TESTS
/usr/share/doc/libnids-devel/bugtraq_post
/usr/share/doc/libnids-devel/samples
/usr/share/doc/libnids-devel/samples/Makefile
/usr/share/doc/libnids-devel/samples/Makefile.in
/usr/share/doc/libnids-devel/samples/chksum_ctl.c
/usr/share/doc/libnids-devel/samples/nids_next.c
/usr/share/doc/libnids-devel/samples/overflows.c
/usr/share/doc/libnids-devel/samples/printall.c
/usr/share/doc/libnids-devel/samples/sniff.c
/usr/share/man/man3/libnids.3.gz
References
Summary
In this tutorial we learn how to install libnids-devel on Rocky Linux 8 using yum and dnf.