How To Install ghc-mmorph on Fedora 36

In this tutorial we learn how to install ghc-mmorph in Fedora 36. ghc-mmorph is Monad morphisms

Introduction

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

What is ghc-mmorph

This library provides monad morphism utilities, most commonly used for manipulating monad transformer stacks.

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

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

sudo dnf -y install ghc-mmorph

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

sudo yum -y install ghc-mmorph

How To Uninstall ghc-mmorph on Fedora 36

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

sudo dnf remove ghc-mmorph

ghc-mmorph Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/fa208a708816054bd81f1383adc2acd438f7cd
/usr/lib64/libHSmmorph-1.1.5-HQ5yL7dTs6W12JIMoRbUvr-ghc8.10.5.so
/usr/share/licenses/ghc-mmorph
/usr/share/licenses/ghc-mmorph/LICENSE

References

Summary

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