How To Install perl-Thread on Fedora 36
Introduction
In this tutorial we learn how to install perl-Thread
on Fedora 36.
What is perl-Thread
This Thread module served as the front end to the old-style thread model, called 5005threads, that has been removed in version 5.10. For old code and interim backwards compatibility, the Thread module has been reworked to function as a front end for the new interpreter threads (ithreads) model. However, some previous functionality is not available. Further, the data sharing models between the two thread models are completely different, and anything to do with data sharing has to be thought differently. You are strongly encouraged to migrate any existing threaded code to the new model (i.e., use the threads and threads
We can use yum
or dnf
to install perl-Thread
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Thread.
Install perl-Thread 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-Thread
using dnf
by running the following command:
sudo dnf -y install perl-Thread
Install perl-Thread 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-Thread
using yum
by running the following command:
sudo yum -y install perl-Thread
How To Uninstall perl-Thread on Fedora 36
To uninstall only the perl-Thread
package we can use the following command:
sudo dnf remove perl-Thread
perl-Thread Package Contents on Fedora 36
/usr/share/man/man3/Thread.3pm.gz
/usr/share/perl5/Thread.pm
References
Summary
In this tutorial we learn how to install perl-Thread
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).