How To Install perl-IPTables-Parse on Fedora 36

In this tutorial we learn how to install perl-IPTables-Parse in Fedora 36. perl-IPTables-Parse is Perl extension for parsing iptables firewall rulesets

Introduction

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

What is perl-IPTables-Parse

The IPTables on Linux systems through the direct execution of iptables commands, or from parsing a file that contains an iptables policy listing. You can get the current policy applied to a table/chain, look for a specific user-defined chain, check for a default DROP policy, or determing whether or not logging rules exist.

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

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

sudo dnf -y install perl-IPTables-Parse

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

sudo yum -y install perl-IPTables-Parse

How To Uninstall perl-IPTables-Parse on Fedora 36

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

sudo dnf remove perl-IPTables-Parse

perl-IPTables-Parse Package Contents on Fedora 36

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

References

Summary

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