How To Install iptables-libs on AlmaLinux 8

In this tutorial we learn how to install iptables-libs in AlmaLinux 8. iptables-libs is iptables libraries

Introduction

In this tutorial we learn how to install iptables-libs on AlmaLinux 8.

What is iptables-libs

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 or dnf to install iptables-libs on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install iptables-libs.

Install iptables-libs on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install iptables-libs using dnf by running the following command:

sudo dnf -y install iptables-libs

Install iptables-libs on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install iptables-libs using yum by running the following command:

sudo yum -y install iptables-libs

How To Uninstall iptables-libs on AlmaLinux 8

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

sudo dnf remove iptables-libs

References

Summary

In this tutorial we learn how to install iptables-libs on AlmaLinux 8 using yum and dnf.