How To Install parallel on AlmaLinux 8
Introduction
In this tutorial we learn how to install parallel
on AlmaLinux 8.
What is parallel
GNU Parallel is a shell tool for executing jobs in parallel using one or more machines. A job is typically a single command or a small script that has to be run for each of the lines in the input. The typical input is a list of files, a list of hosts, a list of users, or a list of tables. If you use xargs today you will find GNU Parallel very easy to use. If you write loops in shell, you will find GNU Parallel may be able to replace most of the loops and make them run faster by running jobs in parallel. If you use ppss or pexec you will find GNU Parallel will often make the command easier to read. GNU Parallel also makes sure output from the commands is the same output as you would get had you run the commands sequentially. This makes it possible to use output from GNU Parallel as input for other programs. GNU Parallel is command-line-compatible with moreutils’ parallel, but offers additional features.
We can use yum
or dnf
to install parallel
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install parallel.
Install parallel on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install parallel
using dnf
by running the following command:
sudo dnf -y install parallel
Install parallel on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install parallel
using yum
by running the following command:
sudo yum -y install parallel
How To Uninstall parallel on AlmaLinux 8
To uninstall only the parallel
package we can use the following command:
sudo dnf remove parallel
References
Summary
In this tutorial we learn how to install parallel
on AlmaLinux 8 using yum and dnf.