How To Install rhash-devel on CentOS 7

In this tutorial we learn how to install rhash-devel on CentOS 7. rhash-devel is Development files for librhash

Introduction

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

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install rhash-devel.

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

sudo yum -y install rhash-devel

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

sudo dnf -y install rhash-devel

How To Uninstall rhash-devel on CentOS 7

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

sudo dnf remove rhash-devel

References

Summary

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