How To Install rubygem-parallel on Rocky Linux 8

In this tutorial we learn how to install rubygem-parallel on Rocky Linux 8. rubygem-parallel is Run any kind of code in parallel processes

Introduction

In this tutorial we learn how to install rubygem-parallel on Rocky Linux 8.

What is rubygem-parallel

Run any kind of code in parallel processes.

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

Install rubygem-parallel 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 rubygem-parallel using dnf by running the following command:

sudo dnf -y install rubygem-parallel

Install rubygem-parallel 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 rubygem-parallel using yum by running the following command:

sudo yum -y install rubygem-parallel

How To Uninstall rubygem-parallel on Rocky Linux 8

To uninstall only the rubygem-parallel package we can use the following command:

sudo dnf remove rubygem-parallel

rubygem-parallel Package Contents on Rocky Linux 8

/usr/share/gems/gems/parallel-1.12.1
/usr/share/gems/gems/parallel-1.12.1/MIT-LICENSE.txt
/usr/share/gems/gems/parallel-1.12.1/lib
/usr/share/gems/gems/parallel-1.12.1/lib/parallel
/usr/share/gems/gems/parallel-1.12.1/lib/parallel.rb
/usr/share/gems/gems/parallel-1.12.1/lib/parallel/processor_count.rb
/usr/share/gems/gems/parallel-1.12.1/lib/parallel/version.rb
/usr/share/gems/specifications/parallel-1.12.1.gemspec

References

Summary

In this tutorial we learn how to install rubygem-parallel on Rocky Linux 8 using yum and dnf.