How To Install ipset-devel on Rocky Linux 8

In this tutorial we learn how to install ipset-devel on Rocky Linux 8. ipset-devel is Development files for ipset

Introduction

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

What is ipset-devel

This package contains the files required to develop software using the ipset libraries.

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

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

sudo dnf -y install ipset-devel

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

sudo yum -y install ipset-devel

How To Uninstall ipset-devel on Rocky Linux 8

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

sudo dnf remove ipset-devel

ipset-devel Package Contents on Rocky Linux 8

/usr/include/libipset
/usr/include/libipset/args.h
/usr/include/libipset/data.h
/usr/include/libipset/errcode.h
/usr/include/libipset/ipset.h
/usr/include/libipset/linux_ip_set.h
/usr/include/libipset/linux_ip_set_bitmap.h
/usr/include/libipset/linux_ip_set_hash.h
/usr/include/libipset/linux_ip_set_list.h
/usr/include/libipset/mnl.h
/usr/include/libipset/nf_inet_addr.h
/usr/include/libipset/nfproto.h
/usr/include/libipset/parse.h
/usr/include/libipset/pfxlen.h
/usr/include/libipset/print.h
/usr/include/libipset/session.h
/usr/include/libipset/transport.h
/usr/include/libipset/types.h
/usr/include/libipset/utils.h
/usr/lib/libipset.so
/usr/lib/pkgconfig/libipset.pc
/usr/include/libipset
/usr/include/libipset/args.h
/usr/include/libipset/data.h
/usr/include/libipset/errcode.h
/usr/include/libipset/ipset.h
/usr/include/libipset/linux_ip_set.h
/usr/include/libipset/linux_ip_set_bitmap.h
/usr/include/libipset/linux_ip_set_hash.h
/usr/include/libipset/linux_ip_set_list.h
/usr/include/libipset/mnl.h
/usr/include/libipset/nf_inet_addr.h
/usr/include/libipset/nfproto.h
/usr/include/libipset/parse.h
/usr/include/libipset/pfxlen.h
/usr/include/libipset/print.h
/usr/include/libipset/session.h
/usr/include/libipset/transport.h
/usr/include/libipset/types.h
/usr/include/libipset/utils.h
/usr/lib64/libipset.so
/usr/lib64/pkgconfig/libipset.pc

References

Summary

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