How To Install perl-Test-Regression on Fedora 36

In this tutorial we learn how to install perl-Test-Regression in Fedora 36. perl-Test-Regression is Test library that can generate outputs and compare against them

Introduction

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

What is perl-Test-Regression

Using the various Test against what you expect. However if the output is complex and changes from version to version, maintenance of the expected output could be costly. This module allows one to use the test code to generate the expected output, so that if the differences with model output are expected, one can easily refresh the model output.

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

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

sudo dnf -y install perl-Test-Regression

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

sudo yum -y install perl-Test-Regression

How To Uninstall perl-Test-Regression on Fedora 36

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

sudo dnf remove perl-Test-Regression

perl-Test-Regression Package Contents on Fedora 36

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

References

Summary

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