How To Install perl-Test-Class on Fedora 36

In this tutorial we learn how to install perl-Test-Class in Fedora 36. perl-Test-Class is Easily create test classes in an xUnit/JUnit style

Introduction

In this tutorial we learn how to install perl-Test-Class on Fedora 36.

What is perl-Test-Class

Test your code in an xUnit style.

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

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

sudo dnf -y install perl-Test-Class

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

sudo yum -y install perl-Test-Class

How To Uninstall perl-Test-Class on Fedora 36

To uninstall only the perl-Test-Class package we can use the following command:

sudo dnf remove perl-Test-Class

perl-Test-Class Package Contents on Fedora 36

/usr/share/doc/perl-Test-Class
/usr/share/doc/perl-Test-Class/Changes
/usr/share/doc/perl-Test-Class/README
/usr/share/man/man3/Test::Class.3pm.gz
/usr/share/man/man3/Test::Class::Load.3pm.gz
/usr/share/man/man3/Test::Class::MethodInfo.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/Class
/usr/share/perl5/vendor_perl/Test/Class.pm
/usr/share/perl5/vendor_perl/Test/Class/Load.pm
/usr/share/perl5/vendor_perl/Test/Class/MethodInfo.pm

References

Summary

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