How To Install ghc-html-doc on Fedora 36

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

Introduction

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

What is ghc-html-doc

This package provides the Haskell html library documentation.

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

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

sudo dnf -y install ghc-html-doc

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

sudo yum -y install ghc-html-doc

How To Uninstall ghc-html-doc on Fedora 36

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

sudo dnf remove ghc-html-doc

ghc-html-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/html-1.0.1.2
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/Text-Html-BlockTable.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/Text-Html.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-33.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-43.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-60.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-A.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-All.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-B.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-C.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-D.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-E.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-F.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-G.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-H.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-I.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-K.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-L.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-M.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-N.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-O.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-P.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-R.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-S.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-T.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-U.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-V.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-W.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index-Y.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/doc-index.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/html.haddock
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/html.txt
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/index.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/linuwial.css
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/meta.json
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/quick-jump.css
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/src
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/src/Text.Html.BlockTable.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/src/Text.Html.html
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/src/highlight.js
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/src/style.css
/usr/share/doc/ghc/html/libraries/html-1.0.1.2/synopsis.png
/usr/share/licenses/ghc-html-doc
/usr/share/licenses/ghc-html-doc/LICENSE

References

Summary

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