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

In this tutorial we learn how to install perl-Directory-Queue on Rocky Linux 8. perl-Directory-Queue is Object oriented interface to a directory based queue

Introduction

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

What is perl-Directory-Queue

The goal of this module is to offer a simple queue system using the underlying file system for storage, security and to prevent race conditions via atomic operations. It focuses on simplicity, robustness and scalability.

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

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

sudo dnf -y install perl-Directory-Queue

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

sudo yum -y install perl-Directory-Queue

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

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

sudo dnf remove perl-Directory-Queue

perl-Directory-Queue Package Contents on Rocky Linux 8

/usr/share/doc/perl-Directory-Queue
/usr/share/doc/perl-Directory-Queue/Changes
/usr/share/doc/perl-Directory-Queue/README
/usr/share/man/man3/Directory::Queue.3pm.gz
/usr/share/man/man3/Directory::Queue::Normal.3pm.gz
/usr/share/man/man3/Directory::Queue::Null.3pm.gz
/usr/share/man/man3/Directory::Queue::Set.3pm.gz
/usr/share/man/man3/Directory::Queue::Simple.3pm.gz
/usr/share/perl5/vendor_perl/Directory
/usr/share/perl5/vendor_perl/Directory/Queue
/usr/share/perl5/vendor_perl/Directory/Queue.pm
/usr/share/perl5/vendor_perl/Directory/Queue/Normal.pm
/usr/share/perl5/vendor_perl/Directory/Queue/Null.pm
/usr/share/perl5/vendor_perl/Directory/Queue/Set.pm
/usr/share/perl5/vendor_perl/Directory/Queue/Simple.pm

References

Summary

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