How To Install perl-Parallel-Iterator on CentOS 7

In this tutorial we learn how to install perl-Parallel-Iterator on CentOS 7. perl-Parallel-Iterator is Simple parallel execution

Introduction

In this tutorial we learn how to install perl-Parallel-Iterator on CentOS 7.

What is perl-Parallel-Iterator

The map function applies a user supplied transformation function to each element in a list, returning a new list containing the transformed elements. This module provides a ‘parallel map’. Multiple worker processes are forked so that many instances of the transformation function may be executed simultaneously. For time consuming operations, particularly operations that spend most of their time waiting for I/O, this is a big performance win. It also provides a simple idiom to make effective use of multi CPU systems.

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

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

sudo yum -y install perl-Parallel-Iterator

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

sudo dnf -y install perl-Parallel-Iterator

How To Uninstall perl-Parallel-Iterator on CentOS 7

To uninstall only the perl-Parallel-Iterator package we can use the following command:

sudo dnf remove perl-Parallel-Iterator

References

Summary

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