How To Install parallel on Kali Linux
Introduction
In this tutorial we learn how to install parallel on Kali Linux.
What is parallel
parallel is:
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.
There are three methods to install parallel on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install parallel Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install parallel using apt-get by running the following command:
sudo apt-get -y install parallelInstall parallel Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install parallel using apt by running the following command:
sudo apt -y install parallelInstall parallel Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install parallel using aptitude by running the following command:
sudo aptitude -y install parallelHow To Uninstall parallel on Kali Linux
To uninstall only the parallel package we can use the following command:
sudo apt-get remove parallelUninstall parallel And Its Dependencies
To uninstall parallel and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove parallelRemove parallel Configurations and Data
To remove parallel configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge parallelRemove parallel configuration, data, and all of its dependencies
We can use the following command to remove parallel configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge parallelDependencies
parallel have the following dependencies:
References
Summary
In this tutorial we learn how to install parallel package on Kali Linux using different package management tools: apt, apt-get and aptitude.