How To Install perl-NetPacket on Fedora 36

In this tutorial we learn how to install perl-NetPacket in Fedora 36. perl-NetPacket is Assemble/disassemble network packets at the protocol level

Introduction

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

What is perl-NetPacket

NetPacket provides a base class for a cluster of modules related to decoding and encoding of network protocols. Each NetPacket descendant module knows how to encode and decode packets for the network protocol it implements. Consult the documentation for the module in question for protocol-specific implementation.

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

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

sudo dnf -y install perl-NetPacket

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

sudo yum -y install perl-NetPacket

How To Uninstall perl-NetPacket on Fedora 36

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

sudo dnf remove perl-NetPacket

perl-NetPacket Package Contents on Fedora 36

/usr/share/doc/perl-NetPacket
/usr/share/doc/perl-NetPacket/CODE_OF_CONDUCT.md
/usr/share/doc/perl-NetPacket/Changes
/usr/share/doc/perl-NetPacket/README
/usr/share/licenses/perl-NetPacket
/usr/share/licenses/perl-NetPacket/LICENSE
/usr/share/man/man3/NetPacket.3pm.gz
/usr/share/man/man3/NetPacket::ARP.3pm.gz
/usr/share/man/man3/NetPacket::Ethernet.3pm.gz
/usr/share/man/man3/NetPacket::ICMP.3pm.gz
/usr/share/man/man3/NetPacket::ICMPv6.3pm.gz
/usr/share/man/man3/NetPacket::IGMP.3pm.gz
/usr/share/man/man3/NetPacket::IP.3pm.gz
/usr/share/man/man3/NetPacket::IPX.3pm.gz
/usr/share/man/man3/NetPacket::IPv6.3pm.gz
/usr/share/man/man3/NetPacket::TCP.3pm.gz
/usr/share/man/man3/NetPacket::UDP.3pm.gz
/usr/share/man/man3/NetPacket::USBMon.3pm.gz
/usr/share/perl5/vendor_perl/NetPacket
/usr/share/perl5/vendor_perl/NetPacket.pm
/usr/share/perl5/vendor_perl/NetPacket/ARP.pm
/usr/share/perl5/vendor_perl/NetPacket/Ethernet.pm
/usr/share/perl5/vendor_perl/NetPacket/ICMP.pm
/usr/share/perl5/vendor_perl/NetPacket/ICMPv6.pm
/usr/share/perl5/vendor_perl/NetPacket/IGMP.pm
/usr/share/perl5/vendor_perl/NetPacket/IP.pm
/usr/share/perl5/vendor_perl/NetPacket/IPX.pm
/usr/share/perl5/vendor_perl/NetPacket/IPv6.pm
/usr/share/perl5/vendor_perl/NetPacket/TCP.pm
/usr/share/perl5/vendor_perl/NetPacket/UDP.pm
/usr/share/perl5/vendor_perl/NetPacket/USBMon.pm

References

Summary

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