How To Install perl-IPTables-ChainMgr on Fedora 36

In this tutorial we learn how to install perl-IPTables-ChainMgr in Fedora 36. perl-IPTables-ChainMgr is Perl extension for manipulating iptables policies

Introduction

In this tutorial we learn how to install perl-IPTables-ChainMgr on Fedora 36.

What is perl-IPTables-ChainMgr

The IPTables policies on Linux systems through the direct execution of iptables commands. Although making a perl extension of libiptc provided by the iptables project is possible, it is easy to just execute iptables commands directly in order to both parse and change the configuration of the policy. Further, this simplifies installation since the only external requirement is (in the spirit of scripting) to be able to point IPTables binary instead of having to compile against a library.

We can use yum or dnf to install perl-IPTables-ChainMgr on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-IPTables-ChainMgr.

Install perl-IPTables-ChainMgr 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 perl-IPTables-ChainMgr using dnf by running the following command:

sudo dnf -y install perl-IPTables-ChainMgr

Install perl-IPTables-ChainMgr 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 perl-IPTables-ChainMgr using yum by running the following command:

sudo yum -y install perl-IPTables-ChainMgr

How To Uninstall perl-IPTables-ChainMgr on Fedora 36

To uninstall only the perl-IPTables-ChainMgr package we can use the following command:

sudo dnf remove perl-IPTables-ChainMgr

perl-IPTables-ChainMgr Package Contents on Fedora 36

/usr/share/doc/perl-IPTables-ChainMgr
/usr/share/doc/perl-IPTables-ChainMgr/Changes
/usr/share/doc/perl-IPTables-ChainMgr/README
/usr/share/man/man3/IPTables::ChainMgr.3pm.gz
/usr/share/perl5/vendor_perl/IPTables
/usr/share/perl5/vendor_perl/IPTables/ChainMgr.pm

References

Summary

In this tutorial we learn how to install perl-IPTables-ChainMgr on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).