How To Install perl-threads-lite on Fedora 36

In this tutorial we learn how to install perl-threads-lite in Fedora 36. perl-threads-lite is Actor model threading for Perl

Introduction

In this tutorial we learn how to install perl-threads-lite on Fedora 36.

What is perl-threads-lite

This module implements threads for perl. One crucial difference with threads.pm threads is that the threads are disconnected, except by message queues. It thus facilitates a message passing style of multi-threading.

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

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

sudo dnf -y install perl-threads-lite

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

sudo yum -y install perl-threads-lite

How To Uninstall perl-threads-lite on Fedora 36

To uninstall only the perl-threads-lite package we can use the following command:

sudo dnf remove perl-threads-lite

perl-threads-lite Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/d7fd88ada5adaf8e8a94e20257cd06e4862fde
/usr/lib64/perl5/vendor_perl/auto/threads
/usr/lib64/perl5/vendor_perl/auto/threads/lite
/usr/lib64/perl5/vendor_perl/auto/threads/lite/lite.so
/usr/lib64/perl5/vendor_perl/threads
/usr/lib64/perl5/vendor_perl/threads/lite
/usr/lib64/perl5/vendor_perl/threads/lite.pm
/usr/lib64/perl5/vendor_perl/threads/lite/list.pm
/usr/lib64/perl5/vendor_perl/threads/lite/queue.pm
/usr/lib64/perl5/vendor_perl/threads/lite/tid.pm
/usr/share/doc/perl-threads-lite
/usr/share/doc/perl-threads-lite/Changes
/usr/share/doc/perl-threads-lite/README
/usr/share/doc/perl-threads-lite/examples
/usr/share/doc/perl-threads-lite/examples/chameneos
/usr/share/doc/perl-threads-lite/examples/reader.pl
/usr/share/licenses/perl-threads-lite
/usr/share/licenses/perl-threads-lite/LICENSE
/usr/share/man/man3/threads::lite.3pm.gz
/usr/share/man/man3/threads::lite::list.3pm.gz
/usr/share/man/man3/threads::lite::queue.3pm.gz
/usr/share/man/man3/threads::lite::tid.3pm.gz

References

Summary

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