How To Install perl-Parallel-Runner on Fedora 36
Introduction
In this tutorial we learn how to install perl-Parallel-Runner
on Fedora 36.
What is perl-Parallel-Runner
There are several other modules to do this, you probably want one of them. This module exists as a super-specialized parallel task manager. You create the object with a process limit and callbacks for what to do while waiting for a free process slot, as well as a callback for what a process should do just before exiting. You must explicitly call $runner->finish() when you are done. If the runner is destroyed before its children are finished, a warning will be generated and your child processes will be killed, by force if necessary. If you specify a maximum of 1 then no forking will occur, and run() will block until the coderef returns. You can force a fork by providing a boolean true value as the second argument to run(), which will force the runner to fork before running the coderef; however, run() will still block until the child exits.
We can use yum
or dnf
to install perl-Parallel-Runner
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Parallel-Runner.
Install perl-Parallel-Runner 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-Parallel-Runner
using dnf
by running the following command:
sudo dnf -y install perl-Parallel-Runner
Install perl-Parallel-Runner 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-Parallel-Runner
using yum
by running the following command:
sudo yum -y install perl-Parallel-Runner
How To Uninstall perl-Parallel-Runner on Fedora 36
To uninstall only the perl-Parallel-Runner
package we can use the following command:
sudo dnf remove perl-Parallel-Runner
perl-Parallel-Runner Package Contents on Fedora 36
/usr/share/doc/perl-Parallel-Runner
/usr/share/doc/perl-Parallel-Runner/CHANGES
/usr/share/doc/perl-Parallel-Runner/README
/usr/share/man/man3/Parallel::Runner.3pm.gz
/usr/share/perl5/vendor_perl/Parallel
/usr/share/perl5/vendor_perl/Parallel/Runner.pm
References
Summary
In this tutorial we learn how to install perl-Parallel-Runner
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).