How To Install ghc-free-doc on Fedora 36

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

Introduction

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

What is ghc-free-doc

This package provides the Haskell free library documentation.

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

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

sudo dnf -y install ghc-free-doc

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

sudo yum -y install ghc-free-doc

How To Uninstall ghc-free-doc on Fedora 36

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

sudo dnf remove ghc-free-doc

ghc-free-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/free-5.1.7
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Alternative-Free-Final.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Alternative-Free.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Applicative-Free-Fast.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Applicative-Free-Final.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Applicative-Free.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Applicative-Trans-Free.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Comonad-Cofree-Class.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Comonad-Cofree.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Comonad-Trans-Cofree.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Comonad-Trans-Coiter.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Monad-Free-Ap.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Monad-Free-Church.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Monad-Free-Class.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Monad-Free-TH.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Monad-Free.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Monad-Trans-Free-Ap.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Monad-Trans-Free-Church.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Monad-Trans-Free.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/Control-Monad-Trans-Iter.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/doc-index.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/examples
/usr/share/doc/ghc/html/libraries/free-5.1.7/examples/Cabbage.lhs
/usr/share/doc/ghc/html/libraries/free-5.1.7/examples/MandelbrotIter.lhs
/usr/share/doc/ghc/html/libraries/free-5.1.7/examples/NewtonCoiter.lhs
/usr/share/doc/ghc/html/libraries/free-5.1.7/examples/PerfTH.hs
/usr/share/doc/ghc/html/libraries/free-5.1.7/examples/RetryTH.hs
/usr/share/doc/ghc/html/libraries/free-5.1.7/examples/Teletype.lhs
/usr/share/doc/ghc/html/libraries/free-5.1.7/examples/ValidationForm.hs
/usr/share/doc/ghc/html/libraries/free-5.1.7/free.haddock
/usr/share/doc/ghc/html/libraries/free-5.1.7/free.txt
/usr/share/doc/ghc/html/libraries/free-5.1.7/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/free-5.1.7/index.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/linuwial.css
/usr/share/doc/ghc/html/libraries/free-5.1.7/meta.json
/usr/share/doc/ghc/html/libraries/free-5.1.7/quick-jump.css
/usr/share/doc/ghc/html/libraries/free-5.1.7/src
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Alternative.Free.Final.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Alternative.Free.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Applicative.Free.Fast.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Applicative.Free.Final.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Applicative.Free.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Applicative.Trans.Free.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Comonad.Cofree.Class.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Comonad.Cofree.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Comonad.Trans.Cofree.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Comonad.Trans.Coiter.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Monad.Free.Ap.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Monad.Free.Church.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Monad.Free.Class.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Monad.Free.TH.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Monad.Free.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Monad.Trans.Free.Ap.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Monad.Trans.Free.Church.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Monad.Trans.Free.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Control.Monad.Trans.Iter.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/Data.Functor.Classes.Compat.html
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/highlight.js
/usr/share/doc/ghc/html/libraries/free-5.1.7/src/style.css
/usr/share/doc/ghc/html/libraries/free-5.1.7/synopsis.png
/usr/share/licenses/ghc-free-doc
/usr/share/licenses/ghc-free-doc/LICENSE

References

Summary

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