How To Install rhash on CentOS 7

In this tutorial we learn how to install rhash on CentOS 7. rhash is Great utility for computing hash sums

Introduction

In this tutorial we learn how to install rhash on CentOS 7.

What is rhash

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, SHA3, 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. * Updating hash files (adding hash sums of files missing in the hash file). * Calculates several hash sums in one pass * Ability to process directories recursively. * Portability Windows.

We can use yum or dnf to install rhash on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install rhash.

Install rhash on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install rhash using yum by running the following command:

sudo yum -y install rhash

Install rhash on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install rhash using dnf by running the following command:

sudo dnf -y install rhash

How To Uninstall rhash on CentOS 7

To uninstall only the rhash package we can use the following command:

sudo dnf remove rhash

References

Summary

In this tutorial we learn how to install rhash on CentOS 7 using yum and dnf.