How To Install ghc-mtl-doc on Fedora 36

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

Introduction

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

What is ghc-mtl-doc

This package provides the Haskell mtl library documentation.

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

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

sudo dnf -y install ghc-mtl-doc

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

sudo yum -y install ghc-mtl-doc

How To Uninstall ghc-mtl-doc on Fedora 36

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

sudo dnf remove ghc-mtl-doc

ghc-mtl-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/mtl-2.2.2
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-Cont-Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-Cont.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-Error-Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-Error.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-Except.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-Identity.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-List.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-RWS-Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-RWS-Lazy.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-RWS-Strict.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-RWS.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-Reader-Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-Reader.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-State-Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-State-Lazy.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-State-Strict.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-State.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-Trans.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-Writer-Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-Writer-Lazy.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-Writer-Strict.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/Control-Monad-Writer.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-60.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-61.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-62.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-A.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-All.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-C.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-D.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-E.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-F.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-G.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-I.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-J.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-L.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-M.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-N.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-P.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-R.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-S.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-T.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-U.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-V.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-W.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index-Z.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/doc-index.json
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/index.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/linuwial.css
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/meta.json
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/mtl.haddock
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/mtl.txt
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/quick-jump.css
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/quick-jump.min.js
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-Cont-Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-Cont.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-Error-Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-Error.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-Except.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-Identity.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-List.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-RWS-Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-RWS-Lazy.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-RWS-Strict.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-RWS.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-Reader-Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-Reader.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-State-Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-State-Lazy.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-State-Strict.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-State.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-Trans.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-Writer-Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-Writer-Lazy.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-Writer-Strict.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control-Monad-Writer.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.Cont.Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.Cont.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.Error.Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.Error.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.Except.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.Identity.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.List.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.RWS.Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.RWS.Lazy.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.RWS.Strict.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.RWS.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.Reader.Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.Reader.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.State.Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.State.Lazy.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.State.Strict.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.State.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.Trans.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.Writer.Class.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.Writer.Lazy.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.Writer.Strict.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/Control.Monad.Writer.html
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/highlight.js
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/hscolour.css
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/src/style.css
/usr/share/doc/ghc/html/libraries/mtl-2.2.2/synopsis.png

References

Summary

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