How To Install mhash-devel on Rocky Linux 8

In this tutorial we learn how to install mhash-devel on Rocky Linux 8. mhash-devel is Header files and libraries for developing apps which use mhash

Introduction

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

What is mhash-devel

This package contains the header files and libraries needed to develop programs that use the mhash library.

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

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

sudo dnf -y install mhash-devel

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

sudo yum -y install mhash-devel

How To Uninstall mhash-devel on Rocky Linux 8

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

sudo dnf remove mhash-devel

mhash-devel Package Contents on Rocky Linux 8

/usr/include/mhash.h
/usr/include/mutils
/usr/include/mutils/mglobal.h
/usr/include/mutils/mhash.h
/usr/include/mutils/mhash_config.h
/usr/include/mutils/mincludes.h
/usr/include/mutils/mtypes.h
/usr/include/mutils/mutils.h
/usr/lib64/libmhash.so
/usr/share/doc/mhash-devel
/usr/share/doc/mhash-devel/ChangeLog
/usr/share/doc/mhash-devel/example.c
/usr/share/doc/mhash-devel/skid2-authentication
/usr/share/man/man3/mhash.3.gz

References

Summary

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