How To Install mhash on Fedora 36

In this tutorial we learn how to install mhash in Fedora 36. mhash is Thread-safe hash algorithms library

Introduction

In this tutorial we learn how to install mhash on Fedora 36.

What is mhash

Mhash is a free library which provides a uniform interface to a large number of hash algorithms. These algorithms can be used to compute checksums, message digests, and other signatures. The HMAC support implements the basics for message authentication, following RFC 2104. In the later versions some key generation algorithms, which use hash algorithms, have been added. Currently, the library supports the algorithms HAVAL256, HAVAL224, HAVAL192, HAVAL160, HAVAL128, MD5, MD4, MD2, RIPEMD128/160/256/320, TIGER, TIGER160, TIGER128, SHA1/224/256/384/512, Whirlpool, SNEFRU128/256, CRC32B and CRC32 checksums.

We can use yum or dnf to install mhash on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mhash.

Install mhash on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mhash using dnf by running the following command:

sudo dnf -y install mhash

Install mhash on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mhash using yum by running the following command:

sudo yum -y install mhash

How To Uninstall mhash on Fedora 36

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

sudo dnf remove mhash

mhash Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/c8ffb0c230a4ccdc9121f568181f37786b9c30
/usr/lib/libmhash.so.2
/usr/lib/libmhash.so.2.0.1
/usr/share/doc/mhash
/usr/share/doc/mhash/AUTHORS
/usr/share/doc/mhash/COPYING
/usr/share/doc/mhash/NEWS
/usr/share/doc/mhash/README
/usr/share/doc/mhash/THANKS
/usr/share/doc/mhash/TODO
---
title: "How To Install mhash on Fedora 36"
linkTitle: "mhash"
type: "docs"
description: "In this tutorial we learn how to install mhash in Fedora 36. mhash is Thread-safe hash algorithms library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/mhash-featured.png
---

## Introduction

In this tutorial we learn how to install `mhash` on Fedora 36.

### What is `mhash`

> Mhash is a free library which provides a uniform interface to a large number of hash algorithms.  These algorithms can be used to compute checksums, message digests, and other signatures. The HMAC support implements the basics for message authentication, following RFC 2104. In the later versions some key generation algorithms, which use hash algorithms, have been added. Currently, the library supports the algorithms HAVAL256, HAVAL224, HAVAL192, HAVAL160, HAVAL128, MD5, MD4, MD2, RIPEMD128/160/256/320, TIGER, TIGER160, TIGER128, SHA1/224/256/384/512, Whirlpool, SNEFRU128/256, CRC32B and CRC32 checksums.  

We can use `yum` or `dnf` to install `mhash` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mhash.

## Install mhash on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install mhash using dnf by running the following command:

sudo dnf -y install mhash

Install mhash on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mhash using yum by running the following command:

sudo yum -y install mhash

How To Uninstall mhash on Fedora 36

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

sudo dnf remove mhash

mhash Package Contents on Fedora 36



```bash
## References

* [mhash website](http://mhash.sourceforge.net/)

## Summary

In this tutorial we learn how to install `mhash` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id
/usr/lib/.build-id/85
/usr/lib/.build-id/85/7c34f9de403f73528a7990e720b1e685ffbd69
/usr/lib64/libmhash.so.2
/usr/lib64/libmhash.so.2.0.1
/usr/share/doc/mhash
/usr/share/doc/mhash/AUTHORS
/usr/share/doc/mhash/COPYING
/usr/share/doc/mhash/NEWS
/usr/share/doc/mhash/README
/usr/share/doc/mhash/THANKS
/usr/share/doc/mhash/TODO

References

Summary

In this tutorial we learn how to install mhash on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).