How To Install perl-NetAddr-IP on Fedora 36

In this tutorial we learn how to install perl-NetAddr-IP in Fedora 36. perl-NetAddr-IP is Manages IPv4 and IPv6 addresses and subnets

Introduction

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

What is perl-NetAddr-IP

This module provides an object-oriented abstraction on top of IP addresses or IP subnets, that allows for easy manipulations.

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

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

sudo dnf -y install perl-NetAddr-IP

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

sudo yum -y install perl-NetAddr-IP

How To Uninstall perl-NetAddr-IP on Fedora 36

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

sudo dnf remove perl-NetAddr-IP

perl-NetAddr-IP Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/9d4fb533e19d6ad980640be7171238b5c82929
/usr/lib64/perl5/vendor_perl/NetAddr
/usr/lib64/perl5/vendor_perl/NetAddr/IP
/usr/lib64/perl5/vendor_perl/NetAddr/IP.pm
/usr/lib64/perl5/vendor_perl/NetAddr/IP/InetBase.pm
/usr/lib64/perl5/vendor_perl/NetAddr/IP/Lite.pm
/usr/lib64/perl5/vendor_perl/NetAddr/IP/Util.pm
/usr/lib64/perl5/vendor_perl/NetAddr/IP/UtilPP.pm
/usr/lib64/perl5/vendor_perl/NetAddr/IP/Util_IS.pm
/usr/lib64/perl5/vendor_perl/auto/NetAddr
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/InetBase
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/InetBase/_inet_ntop.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/InetBase/_inet_pton.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/InetBase/_packzeros.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/InetBase/autosplit.ix
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/InetBase/inet_any2n.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/InetBase/inet_n2ad.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/InetBase/inet_n2dx.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/InetBase/inet_ntoa.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/InetBase/ipv6_aton.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/InetBase/ipv6_ntoa.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/Util
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/Util/Util.so
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/Util/autosplit.ix
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/_128x10.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/_128x2.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/_bcd2bin.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/_bcdcheck.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/_bin2bcdn.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/_deadlen.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/_sa128.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/add128.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/addconst.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/autosplit.ix
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/bcd2bin.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/bcdn2bin.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/bcdn2txt.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/bin2bcd.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/bin2bcdn.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/comp128.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/hasbits.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/ipanyto6.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/ipv4to6.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/ipv6to4.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/mask4to6.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/maskanyto6.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/notcontiguous.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/shiftleft.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/simple_pack.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/slowadd128.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/UtilPP/sub128.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/_compV6.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/_compact_v6.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/_splitplan.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/_splitref.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/autosplit.ix
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/canon.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/coalesce.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/compactref.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/do_prefix.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/hostenum.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/mod_version.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/nprefix.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/prefix.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/re.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/re6.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/short.al
/usr/lib64/perl5/vendor_perl/auto/NetAddr/IP/wildcard.al
/usr/share/doc/perl-NetAddr-IP
/usr/share/doc/perl-NetAddr-IP/About-NetAddr-IP.txt
/usr/share/doc/perl-NetAddr-IP/Changes
/usr/share/doc/perl-NetAddr-IP/TODO
/usr/share/doc/perl-NetAddr-IP/rfc1884.txt
/usr/share/licenses/perl-NetAddr-IP
/usr/share/licenses/perl-NetAddr-IP/Artistic
/usr/share/licenses/perl-NetAddr-IP/Copying
/usr/share/man/man3/NetAddr::IP.3pm.gz
/usr/share/man/man3/NetAddr::IP::InetBase.3pm.gz
/usr/share/man/man3/NetAddr::IP::Lite.3pm.gz
/usr/share/man/man3/NetAddr::IP::Util.3pm.gz
/usr/share/man/man3/NetAddr::IP::UtilPP.3pm.gz

References

Summary

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