How To Install perl-Test2-Tools-Process on Fedora 36
Introduction
In this tutorial we learn how to install perl-Test2-Tools-Process on Fedora 36.
What is perl-Test2-Tools-Process
This set of testing tools is intended for writing unit tests for code that interacts with other processes without using real processes that might have unwanted side effects. It also lets you test code that exits program flow without actually terminating your test. So far it allows you to test and/or mock exit, exec, system, readpipe and qx//. Other process related tests will be added in the future.
We can use yum or dnf to install perl-Test2-Tools-Process on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Test2-Tools-Process.
Install perl-Test2-Tools-Process 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-Process using dnf by running the following command:
sudo dnf -y install perl-Test2-Tools-Process
Install perl-Test2-Tools-Process 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-Process using yum by running the following command:
sudo yum -y install perl-Test2-Tools-Process
How To Uninstall perl-Test2-Tools-Process on Fedora 36
To uninstall only the perl-Test2-Tools-Process package we can use the following command:
sudo dnf remove perl-Test2-Tools-Process
perl-Test2-Tools-Process Package Contents on Fedora 36
/usr/share/doc/perl-Test2-Tools-Process
/usr/share/doc/perl-Test2-Tools-Process/Changes
/usr/share/doc/perl-Test2-Tools-Process/Changes.Test-Exec
/usr/share/doc/perl-Test2-Tools-Process/README
/usr/share/licenses/perl-Test2-Tools-Process
/usr/share/licenses/perl-Test2-Tools-Process/LICENSE
/usr/share/man/man3/Test2::Tools::Process.3pm.gz
/usr/share/man/man3/Test::Exec.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/Exec.pm
/usr/share/perl5/vendor_perl/Test2
/usr/share/perl5/vendor_perl/Test2/Tools
/usr/share/perl5/vendor_perl/Test2/Tools/Process.pm
References
Summary
In this tutorial we learn how to install perl-Test2-Tools-Process on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).