How To Install perl-Test-TinyMocker on Fedora 36

In this tutorial we learn how to install perl-Test-TinyMocker in Fedora 36. perl-Test-TinyMocker is A very simple tool to mock external modules

Introduction

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

What is perl-Test-TinyMocker

This module allows you to override methods with arbitrary code blocks. This lets you simulate some kind of behavior for your tests.

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

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

sudo dnf -y install perl-Test-TinyMocker

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

sudo yum -y install perl-Test-TinyMocker

How To Uninstall perl-Test-TinyMocker on Fedora 36

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

sudo dnf remove perl-Test-TinyMocker

perl-Test-TinyMocker Package Contents on Fedora 36

/usr/share/doc/perl-Test-TinyMocker
/usr/share/doc/perl-Test-TinyMocker/AUTHORS
/usr/share/doc/perl-Test-TinyMocker/Changes
/usr/share/doc/perl-Test-TinyMocker/README
/usr/share/licenses/perl-Test-TinyMocker
/usr/share/licenses/perl-Test-TinyMocker/LICENSE
/usr/share/man/man3/Test::TinyMocker.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/TinyMocker.pm

References

Summary

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