How To Install perl-Test-Fatal on Rocky Linux 8

In this tutorial we learn how to install perl-Test-Fatal on Rocky Linux 8. perl-Test-Fatal is Incredibly simple helpers for testing code with exceptions

Introduction

In this tutorial we learn how to install perl-Test-Fatal on Rocky Linux 8.

What is perl-Test-Fatal

Test less, but should allow greater flexibility in testing exception-throwing code with about the same amount of typing.

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

Install perl-Test-Fatal on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Test-Fatal using dnf by running the following command:

sudo dnf -y install perl-Test-Fatal

Install perl-Test-Fatal on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Test-Fatal using yum by running the following command:

sudo yum -y install perl-Test-Fatal

How To Uninstall perl-Test-Fatal on Rocky Linux 8

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

sudo dnf remove perl-Test-Fatal

perl-Test-Fatal Package Contents on Rocky Linux 8

/usr/share/doc/perl-Test-Fatal
/usr/share/doc/perl-Test-Fatal/Changes
/usr/share/doc/perl-Test-Fatal/README
/usr/share/doc/perl-Test-Fatal/examples
/usr/share/doc/perl-Test-Fatal/examples/convert-to-test-fatal
/usr/share/doc/perl-Test-Fatal/examples/exception_like.t
/usr/share/licenses/perl-Test-Fatal
/usr/share/licenses/perl-Test-Fatal/LICENSE
/usr/share/man/man3/Test::Fatal.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/Fatal.pm

References

Summary

In this tutorial we learn how to install perl-Test-Fatal on Rocky Linux 8 using yum and dnf.