How To Install perl-forks on Fedora 36
Introduction
In this tutorial we learn how to install perl-forks
on Fedora 36.
What is perl-forks
The forks.pm module is a drop-in replacement for threads.pm. It has the same syntax as the threads.pm module (it even takes over its name space) but has some significant differences - you do not need a special (threaded) version of Perl - it is much more economic with memory usage on OS’s that support COW - it is more efficient in the start-up of threads - it is slightly less efficient in the stopping of threads - it is less efficient in inter-thread communication If for nothing else, it allows you to use the Perl threading model in non-threaded Perl builds and in older versions of Perl (5.6.0 and higher are supported).
We can use yum
or dnf
to install perl-forks
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-forks.
Install perl-forks 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-forks
using dnf
by running the following command:
sudo dnf -y install perl-forks
Install perl-forks 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-forks
using yum
by running the following command:
sudo yum -y install perl-forks
How To Uninstall perl-forks on Fedora 36
To uninstall only the perl-forks
package we can use the following command:
sudo dnf remove perl-forks
perl-forks Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/63d0fc66dddc2ffefde79a58a3ad1fa613d9c6
/usr/lib64/perl5/vendor_perl/auto/forks
/usr/lib64/perl5/vendor_perl/auto/forks/forks.so
/usr/lib64/perl5/vendor_perl/forks
/usr/lib64/perl5/vendor_perl/forks.pm
/usr/lib64/perl5/vendor_perl/forks/Devel
/usr/lib64/perl5/vendor_perl/forks/Devel/Symdump.pm
/usr/lib64/perl5/vendor_perl/forks/shared
/usr/lib64/perl5/vendor_perl/forks/shared.pm
/usr/lib64/perl5/vendor_perl/forks/shared/attributes.pm
/usr/lib64/perl5/vendor_perl/forks/shared/global_filter.pm
/usr/lib64/perl5/vendor_perl/forks/signals.pm
/usr/lib64/perl5/vendor_perl/threads
/usr/lib64/perl5/vendor_perl/threads/shared
/usr/lib64/perl5/vendor_perl/threads/shared/array.pm
/usr/lib64/perl5/vendor_perl/threads/shared/handle.pm
/usr/lib64/perl5/vendor_perl/threads/shared/hash.pm
/usr/lib64/perl5/vendor_perl/threads/shared/scalar.pm
/usr/share/doc/perl-forks
/usr/share/doc/perl-forks/CREDITS
/usr/share/doc/perl-forks/Changes
/usr/share/doc/perl-forks/README
/usr/share/doc/perl-forks/TODO
/usr/share/man/man3/forks.3pm.gz
/usr/share/man/man3/forks::Devel::Symdump.3pm.gz
/usr/share/man/man3/forks::shared.3pm.gz
/usr/share/man/man3/forks::signals.3pm.gz
/usr/share/man/man3/threads::shared::array.3pm.gz
/usr/share/man/man3/threads::shared::handle.3pm.gz
/usr/share/man/man3/threads::shared::hash.3pm.gz
/usr/share/man/man3/threads::shared::scalar.3pm.gz
References
Summary
In this tutorial we learn how to install perl-forks
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).