How To Install perl-Parallel-Iterator on Rocky Linux 8

In this tutorial we learn how to install perl-Parallel-Iterator on Rocky Linux 8. perl-Parallel-Iterator is Simple parallel execution

Introduction

In this tutorial we learn how to install perl-Parallel-Iterator on Rocky Linux 8.

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 Rocky Linux 8. 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 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-Parallel-Iterator using dnf by running the following command:

sudo dnf -y install perl-Parallel-Iterator

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

sudo yum -y install perl-Parallel-Iterator

How To Uninstall perl-Parallel-Iterator on Rocky Linux 8

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

sudo dnf remove perl-Parallel-Iterator

perl-Parallel-Iterator Package Contents on Rocky Linux 8

/usr/share/doc/perl-Parallel-Iterator
/usr/share/doc/perl-Parallel-Iterator/Changes
/usr/share/doc/perl-Parallel-Iterator/README
/usr/share/man/man3/Parallel::Iterator.3pm.gz
/usr/share/perl5/vendor_perl/Parallel
/usr/share/perl5/vendor_perl/Parallel/Iterator.pm

References

Summary

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