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

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

Introduction

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

What is iptables-devel.x86_64

iptables development headers and libraries. The iptc libraries are marked as not public by upstream. The interface is not stable and may change with every new version. It is therefore unsupported.

We can use yum to install iptables-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 iptables-devel.x86_64.

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

sudo yum -y install iptables-devel.x86_64

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

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

sudo yum remove iptables-devel.x86_64

iptables-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/ip6tables.h
/usr/include/iptables
/usr/include/iptables.h
/usr/include/iptables/internal.h
/usr/include/libiptc
/usr/include/libiptc/ipt_kernel_headers.h
/usr/include/libiptc/libip6tc.h
/usr/include/libiptc/libiptc.h
/usr/include/libiptc/libxtc.h
/usr/include/libiptc/xtcshared.h
/usr/include/libipulog
/usr/include/libipulog/libipulog.h
/usr/include/xtables-version.h
/usr/include/xtables.h
/usr/lib64/libip4tc.so
/usr/lib64/libip6tc.so
/usr/lib64/libiptc.so
/usr/lib64/libxtables.so
/usr/lib64/pkgconfig/libip4tc.pc
/usr/lib64/pkgconfig/libip6tc.pc
/usr/lib64/pkgconfig/libiptc.pc
/usr/lib64/pkgconfig/xtables.pc

References

Summary

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