How To Install rhash-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install rhash-devel.x86_64 in Amazon Linux 2. rhash-devel.x86_64 is Development files for librhash

Introduction

In this tutorial we learn how to install rhash-devel.x86_64 on Amazon Linux 2.

What is rhash-devel.x86_64

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

Install rhash-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install rhash-devel.x86_64

How To Uninstall rhash-devel.x86_64 on Amazon Linux 2

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

sudo yum remove rhash-devel.x86_64

rhash-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/rhash.h
/usr/include/rhash_torrent.h
/usr/lib64/librhash.so
/usr/share/licenses/rhash-devel-1.3.5
/usr/share/licenses/rhash-devel-1.3.5/COPYING

References

Summary

In this tutorial we learn how to install rhash-devel.x86_64 on Amazon Linux 2 using yum.