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

In this tutorial we learn how to install iptables-libs.x86_64 in Amazon Linux 2. iptables-libs.x86_64 is iptables libraries

Introduction

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

What is iptables-libs.x86_64

iptables libraries. Please remember that libip*tc libraries do neither have a stable API nor a real so version. For more information about this, please have a look at http

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

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

sudo yum -y install iptables-libs.x86_64

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

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

sudo yum remove iptables-libs.x86_64

iptables-libs.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libip4tc.so.2
/usr/lib64/libip4tc.so.2.0.0
/usr/lib64/libip6tc.so.2
/usr/lib64/libip6tc.so.2.0.0
/usr/lib64/libiptc.so.1
/usr/lib64/libiptc.so.1.0.0
/usr/lib64/libxtables.so.12
/usr/lib64/libxtables.so.12.2.0

References

Summary

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