How To Install perl-Test2-Tools-PerlCritic on Fedora 36

In this tutorial we learn how to install perl-Test2-Tools-PerlCritic in Fedora 36. perl-Test2-Tools-PerlCritic is Testing tools to enforce Perl

Introduction

In this tutorial we learn how to install perl-Test2-Tools-PerlCritic on Fedora 36.

What is perl-Test2-Tools-PerlCritic

Test for Perl uses the Test2 API instead of the older Test motivation is to provide output in a more useful form. That is policy violations are grouped by policy class, and the policy class name is clearly displayed as a diagnostic. The author finds the former more useful because he tends to address one type of violation at a time. The author finds the latter more useful because he tends to want to lookup or adjust the configuration of the policy as he is addressing violations.

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

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

sudo dnf -y install perl-Test2-Tools-PerlCritic

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

sudo yum -y install perl-Test2-Tools-PerlCritic

How To Uninstall perl-Test2-Tools-PerlCritic on Fedora 36

To uninstall only the perl-Test2-Tools-PerlCritic package we can use the following command:

sudo dnf remove perl-Test2-Tools-PerlCritic

perl-Test2-Tools-PerlCritic Package Contents on Fedora 36

/usr/share/doc/perl-Test2-Tools-PerlCritic
/usr/share/doc/perl-Test2-Tools-PerlCritic/Changes
/usr/share/doc/perl-Test2-Tools-PerlCritic/README
/usr/share/licenses/perl-Test2-Tools-PerlCritic
/usr/share/licenses/perl-Test2-Tools-PerlCritic/LICENSE
/usr/share/man/man3/Test2::Tools::PerlCritic.3pm.gz
/usr/share/perl5/vendor_perl/Test2
/usr/share/perl5/vendor_perl/Test2/Tools
/usr/share/perl5/vendor_perl/Test2/Tools/PerlCritic.pm

References

Summary

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