How To Install ghc-mtl-prof on Fedora 36

In this tutorial we learn how to install ghc-mtl-prof in Fedora 36. ghc-mtl-prof is Haskell mtl profiling library

Introduction

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

What is ghc-mtl-prof

This package provides the Haskell mtl profiling library.

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

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

sudo dnf -y install ghc-mtl-prof

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

sudo yum -y install ghc-mtl-prof

How To Uninstall ghc-mtl-prof on Fedora 36

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

sudo dnf remove ghc-mtl-prof

ghc-mtl-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/Cont.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/Cont/Class.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/Error.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/Error/Class.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/Except.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/Identity.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/List.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/RWS.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/RWS/Class.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/RWS/Lazy.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/RWS/Strict.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/Reader.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/Reader/Class.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/State.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/State/Class.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/State/Lazy.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/State/Strict.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/Trans.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/Writer.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/Writer/Class.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/Writer/Lazy.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/Control/Monad/Writer/Strict.p_hi
/usr/lib64/ghc-8.10.5/mtl-2.2.2/libHSmtl-2.2.2_p.a

References

Summary

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