How To Install perl-Net-ARP on Fedora 36

In this tutorial we learn how to install perl-Net-ARP in Fedora 36. perl-Net-ARP is Create and Send ARP Packets

Introduction

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

What is perl-Net-ARP

This module is a Perl extension to create and send ARP packets and lookup local or remote mac addresses. You do not need to install any additional libraries like Libnet to compile this extension. It uses kernel header files to create the packets.

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

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

sudo dnf -y install perl-Net-ARP

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

sudo yum -y install perl-Net-ARP

How To Uninstall perl-Net-ARP on Fedora 36

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

sudo dnf remove perl-Net-ARP

perl-Net-ARP Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/5efef5d134253cb7e4d310d6615708f3fb6091
/usr/lib64/perl5/vendor_perl/Net
/usr/lib64/perl5/vendor_perl/Net/ARP.pm
/usr/lib64/perl5/vendor_perl/auto/Net
/usr/lib64/perl5/vendor_perl/auto/Net/ARP
/usr/lib64/perl5/vendor_perl/auto/Net/ARP/ARP.so
/usr/share/doc/perl-Net-ARP
/usr/share/doc/perl-Net-ARP/Changes
/usr/share/doc/perl-Net-ARP/README
/usr/share/man/man3/Net::ARP.3pm.gz

References

Summary

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