How To Install iptables-compat on Fedora 36
Introduction
In this tutorial we learn how to install iptables-compat
on Fedora 36.
What is iptables-compat
This package only exists to help transition iptables users to the new package split. It will be removed after one distribution release cycle, please do not reference it or depend on it in any way.
We can use yum
or dnf
to install iptables-compat
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install iptables-compat.
Install iptables-compat on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install iptables-compat
using dnf
by running the following command:
sudo dnf -y install iptables-compat
Install iptables-compat on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install iptables-compat
using yum
by running the following command:
sudo yum -y install iptables-compat
How To Uninstall iptables-compat on Fedora 36
To uninstall only the iptables-compat
package we can use the following command:
sudo dnf remove iptables-compat
iptables-compat Package Contents on Fedora 36
References
Summary
In this tutorial we learn how to install iptables-compat
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).