How To Install rhash on Kali Linux
Introduction
In this tutorial we learn how to install rhash
on Kali Linux.
What is rhash
rhash is:
RHash is a console utility for calculation and verification of magnet links and a wide range of hash sums like CRC32, MD4, MD5, SHA1, SHA256, SHA512, AICH, ED2K, Tiger, DC++ TTH, BitTorrent BTIH, GOST R 34.11-94, RIPEMD-160, HAS-160, EDON-R, Whirlpool and Snefru. Hash sums are used to ensure and verify integrity of large volumes of data for a long-term storing or transferring.
Features:
- Output in a predefined (SFV, BSD-like) or a user-defined format.
- Can calculate Magnet links.
- Ability to process directories recursively.
- Updating hash files (adding hash sums of files missing in the hash file).
- Portability: the program works the same on Linux, *BSD or Windows.
There are three methods to install rhash
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 rhash Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install rhash
using apt-get
by running the following command:
sudo apt-get -y install rhash
Install rhash Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install rhash
using apt
by running the following command:
sudo apt -y install rhash
Install rhash 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 update
After updating apt database, We can install rhash
using aptitude
by running the following command:
sudo aptitude -y install rhash
How To Uninstall rhash on Kali Linux
To uninstall only the rhash
package we can use the following command:
sudo apt-get remove rhash
Uninstall rhash And Its Dependencies
To uninstall rhash
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove rhash
Remove rhash Configurations and Data
To remove rhash
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge rhash
Remove rhash configuration, data, and all of its dependencies
We can use the following command to remove rhash
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge rhash
Dependencies
rhash have the following dependencies:
References
Summary
In this tutorial we learn how to install rhash
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.