How To Install rhash-devel on Rocky Linux 8

In this tutorial we learn how to install rhash-devel on Rocky Linux 8. rhash-devel is Development files for librhash

Introduction

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

What is rhash-devel

LibRHash is a professional, portable, thread-safe C library for computing a wide variety of hash sums, such as 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 * Small and easy to learn interface. * Hi-level and Low-level API. * Allows calculating of several hash functions simultaneously. * Portability The rhash-devel package contains libraries and header files for developing applications that use librhash.

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

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

sudo dnf -y install rhash-devel

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

sudo yum -y install rhash-devel

How To Uninstall rhash-devel on Rocky Linux 8

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

sudo dnf remove rhash-devel

rhash-devel Package Contents on Rocky Linux 8

/usr/include/rhash.h
/usr/include/rhash_torrent.h
/usr/lib64/librhash.so

References

Summary

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