How To Install ghc-pureMD5 on Fedora 36

In this tutorial we learn how to install ghc-pureMD5 in Fedora 36. ghc-pureMD5 is Pure Haskell MD5 digest implementation

Introduction

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

What is ghc-pureMD5

A Haskell-only implementation of the MD5 digest (hash) algorithm. This now supports the crypto-api class interface.

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

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

sudo dnf -y install ghc-pureMD5

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

sudo yum -y install ghc-pureMD5

How To Uninstall ghc-pureMD5 on Fedora 36

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

sudo dnf remove ghc-pureMD5

ghc-pureMD5 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/80
/usr/lib/.build-id/80/5d60c8dfe65fda82ee4c0449ad3f1b906a7536
/usr/lib64/libHSpureMD5-2.1.3-IibOT1u8BQ36rB3R3XMTm-ghc8.10.5.so
/usr/share/licenses/ghc-pureMD5
/usr/share/licenses/ghc-pureMD5/LICENSE

References

Summary

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