How To Install perl-Net-Works on Fedora 36

In this tutorial we learn how to install perl-Net-Works in Fedora 36. perl-Net-Works is API for IP addresses and networks

Introduction

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

What is perl-Net-Works

The NetAddr API design is a bit crufty. This package provides an alternative API that aims to address the biggest problems with that module’s API, as well as adding some additional features.

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

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

sudo dnf -y install perl-Net-Works

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

sudo yum -y install perl-Net-Works

How To Uninstall perl-Net-Works on Fedora 36

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

sudo dnf remove perl-Net-Works

perl-Net-Works Package Contents on Fedora 36

/usr/share/doc/perl-Net-Works
/usr/share/doc/perl-Net-Works/Changes
/usr/share/doc/perl-Net-Works/README.md
/usr/share/licenses/perl-Net-Works
/usr/share/licenses/perl-Net-Works/LICENSE
/usr/share/man/man3/Net::Works.3pm.gz
/usr/share/man/man3/Net::Works::Address.3pm.gz
/usr/share/man/man3/Net::Works::Network.3pm.gz
/usr/share/man/man3/Net::Works::Util.3pm.gz
/usr/share/perl5/vendor_perl/Net
/usr/share/perl5/vendor_perl/Net/Works
/usr/share/perl5/vendor_perl/Net/Works.pm
/usr/share/perl5/vendor_perl/Net/Works/Address.pm
/usr/share/perl5/vendor_perl/Net/Works/Network.pm
/usr/share/perl5/vendor_perl/Net/Works/Role
/usr/share/perl5/vendor_perl/Net/Works/Role/IP.pm
/usr/share/perl5/vendor_perl/Net/Works/Types.pm
/usr/share/perl5/vendor_perl/Net/Works/Util.pm

References

Summary

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