How To Install perl-Module-Used on Fedora 36

In this tutorial we learn how to install perl-Module-Used in Fedora 36. perl-Module-Used is Find modules loaded by Perl code without running it

Introduction

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

What is perl-Module-Used

Modules are found statically based upon use and require statements. If use of the base or parent is found, both that module and the referenced ones will be returned. If Moose or Moose extends and with sugar will be looked for; presently, this will miss modules listed in parentheses.

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

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

sudo dnf -y install perl-Module-Used

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

sudo yum -y install perl-Module-Used

How To Uninstall perl-Module-Used on Fedora 36

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

sudo dnf remove perl-Module-Used

perl-Module-Used Package Contents on Fedora 36

/usr/bin/modules-used
/usr/share/doc/perl-Module-Used
/usr/share/doc/perl-Module-Used/Changes
/usr/share/doc/perl-Module-Used/README
/usr/share/man/man1/modules-used.1.gz
/usr/share/man/man3/Module::Used.3pm.gz
/usr/share/perl5/vendor_perl/Module
/usr/share/perl5/vendor_perl/Module/Used.pm

References

Summary

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