How To Install perl-Proc-Queue on CentOS 7

In this tutorial we learn how to install perl-Proc-Queue on CentOS 7. perl-Proc-Queue is Limit the number of child processes running

Introduction

In this tutorial we learn how to install perl-Proc-Queue on CentOS 7.

What is perl-Proc-Queue

This module lets you parallelise a perl program using the fork, exit, wait and waitpid calls as usual but without taking care of creating too many processes and overloading the machine.

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

Install perl-Proc-Queue on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install perl-Proc-Queue

Install perl-Proc-Queue on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install perl-Proc-Queue

How To Uninstall perl-Proc-Queue on CentOS 7

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

sudo dnf remove perl-Proc-Queue

References

Summary

In this tutorial we learn how to install perl-Proc-Queue on CentOS 7 using yum and dnf.