How To Install ipset-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install ipset-devel.x86_64 in Amazon Linux 2. ipset-devel.x86_64 is Development files for ipset

Introduction

In this tutorial we learn how to install ipset-devel.x86_64 on Amazon Linux 2.

What is ipset-devel.x86_64

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

We can use yum to install ipset-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ipset-devel.x86_64.

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

sudo yum -y install ipset-devel.x86_64

How To Uninstall ipset-devel.x86_64 on Amazon Linux 2

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

sudo yum remove ipset-devel.x86_64

ipset-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libipset
/usr/include/libipset/data.h
/usr/include/libipset/errcode.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/ui.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.x86_64 on Amazon Linux 2 using yum.