How To Install ipset-libs on Rocky Linux 8

In this tutorial we learn how to install ipset-libs on Rocky Linux 8. ipset-libs is Shared library providing the IP sets functionality

Introduction

In this tutorial we learn how to install ipset-libs on Rocky Linux 8.

What is ipset-libs

This package contains the libraries which provide the IP sets funcionality.

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

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

sudo dnf -y install ipset-libs

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

sudo yum -y install ipset-libs

How To Uninstall ipset-libs on Rocky Linux 8

To uninstall only the ipset-libs package we can use the following command:

sudo dnf remove ipset-libs

ipset-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/4c81af4b5b1af3c7d3d7beaa837540d91d89f8
/usr/lib/libipset.so.13
/usr/lib/libipset.so.13.1.0
/usr/share/doc/ipset-libs
/usr/share/doc/ipset-libs/COPYING
/usr/share/man/man3/libipset.3.gz
/usr/lib/.build-id
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/5cca00832264d6134563a84ec0515289b52cd3
/usr/lib64/libipset.so.13
/usr/lib64/libipset.so.13.1.0
/usr/share/doc/ipset-libs
/usr/share/doc/ipset-libs/COPYING
/usr/share/man/man3/libipset.3.gz

References

Summary

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