How To Install rhash on Rocky Linux 8

In this tutorial we learn how to install rhash on Rocky Linux 8. rhash is Great utility for computing hash sums

Introduction

In this tutorial we learn how to install rhash on Rocky Linux 8.

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

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

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

sudo dnf -y install rhash

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

sudo yum -y install rhash

How To Uninstall rhash on Rocky Linux 8

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

sudo dnf remove rhash

rhash Package Contents on Rocky Linux 8

/etc/rhashrc
/usr/bin/ed2k-link
/usr/bin/edonr256-hash
/usr/bin/edonr512-hash
/usr/bin/gost-hash
/usr/bin/has160-hash
/usr/bin/magnet-link
/usr/bin/rhash
/usr/bin/sfv-hash
/usr/bin/tiger-hash
/usr/bin/tth-hash
/usr/bin/whirlpool-hash
/usr/lib/.build-id
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/e87fee9c3013fc4b175c81037e7495c494ad73
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/5e133886916a3352f085765da427d741df15f8
/usr/lib64/librhash.so.0
/usr/share/doc/rhash
/usr/share/doc/rhash/ChangeLog
/usr/share/doc/rhash/README.md
/usr/share/licenses/rhash
/usr/share/licenses/rhash/COPYING
/usr/share/man/man1/ed2k-link.1.gz
/usr/share/man/man1/edonr256-hash.1.gz
/usr/share/man/man1/edonr512-hash.1.gz
/usr/share/man/man1/gost-hash.1.gz
/usr/share/man/man1/has160-hash.1.gz
/usr/share/man/man1/magnet-link.1.gz
/usr/share/man/man1/rhash.1.gz
/usr/share/man/man1/sfv-hash.1.gz
/usr/share/man/man1/tiger-hash.1.gz
/usr/share/man/man1/tth-hash.1.gz
/usr/share/man/man1/whirlpool-hash.1.gz

References

Summary

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