How To Install ghc-cryptohash-md5 on Fedora 36

In this tutorial we learn how to install ghc-cryptohash-md5 in Fedora 36. ghc-cryptohash-md5 is Fast, pure and practical MD5 implementation

Introduction

In this tutorial we learn how to install ghc-cryptohash-md5 on Fedora 36.

What is ghc-cryptohash-md5

A practical incremental and one-pass, pure API to the MD5 hash algorithm (including HMAC support) with performance close to the fastest implementations available in other languages. NOTE ‘cryptohash’ package has been deprecated and so this package continues to satisfy the need for a lightweight package providing the MD5 hash algorithm without any dependencies on packages other than ‘base’ and ‘bytestring’. Consequently, this package can be used as a drop-in replacement for cryptohash’s “Crypto.Hash.MD5” module, though with a clearly smaller footprint.

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

Install ghc-cryptohash-md5 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 ghc-cryptohash-md5 using dnf by running the following command:

sudo dnf -y install ghc-cryptohash-md5

Install ghc-cryptohash-md5 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 ghc-cryptohash-md5 using yum by running the following command:

sudo yum -y install ghc-cryptohash-md5

How To Uninstall ghc-cryptohash-md5 on Fedora 36

To uninstall only the ghc-cryptohash-md5 package we can use the following command:

sudo dnf remove ghc-cryptohash-md5

ghc-cryptohash-md5 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/44
/usr/lib/.build-id/44/c393fe0e585a6cba25c487b7efd2bad29a8275
/usr/lib64/libHScryptohash-md5-0.11.100.1-CXcVdCBElEw85IPjFl0LYl-ghc8.10.5.so
/usr/share/licenses/ghc-cryptohash-md5
/usr/share/licenses/ghc-cryptohash-md5/LICENSE

References

Summary

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