How To Install perl-Thread-Queue on Rocky Linux 8

In this tutorial we learn how to install perl-Thread-Queue on Rocky Linux 8. perl-Thread-Queue is Thread-safe queues

Introduction

In this tutorial we learn how to install perl-Thread-Queue on Rocky Linux 8.

What is perl-Thread-Queue

This module provides thread-safe FIFO queues that can be accessed safely by any number of threads.

We can use yum or dnf to install perl-Thread-Queue on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Thread-Queue.

Install perl-Thread-Queue on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Thread-Queue using dnf by running the following command:

sudo dnf -y install perl-Thread-Queue

Install perl-Thread-Queue on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Thread-Queue using yum by running the following command:

sudo yum -y install perl-Thread-Queue

How To Uninstall perl-Thread-Queue on Rocky Linux 8

To uninstall only the perl-Thread-Queue package we can use the following command:

sudo dnf remove perl-Thread-Queue

perl-Thread-Queue Package Contents on Rocky Linux 8

/usr/share/doc/perl-Thread-Queue
/usr/share/doc/perl-Thread-Queue/Changes
/usr/share/doc/perl-Thread-Queue/README
/usr/share/doc/perl-Thread-Queue/examples
/usr/share/doc/perl-Thread-Queue/examples/callback.pl
/usr/share/doc/perl-Thread-Queue/examples/queue.pl
/usr/share/man/man3/Thread::Queue.3pm.gz
/usr/share/perl5/vendor_perl/Thread
/usr/share/perl5/vendor_perl/Thread/Queue.pm

References

Summary

In this tutorial we learn how to install perl-Thread-Queue on Rocky Linux 8 using yum and dnf.