How To Install ghc-xhtml-doc on Fedora 36

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

Introduction

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

What is ghc-xhtml-doc

This package provides the Haskell xhtml library documentation.

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

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

sudo dnf -y install ghc-xhtml-doc

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

sudo yum -y install ghc-xhtml-doc

How To Uninstall ghc-xhtml-doc on Fedora 36

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

sudo dnf remove ghc-xhtml-doc

ghc-xhtml-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/Text-XHtml-Frameset.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/Text-XHtml-Strict.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/Text-XHtml-Table.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/Text-XHtml-Transitional.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/Text-XHtml.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-33.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-43.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-60.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-A.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-All.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-B.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-C.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-D.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-E.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-F.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-G.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-H.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-I.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-K.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-L.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-M.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-N.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-O.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-P.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-Q.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-R.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-S.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-T.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-U.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-V.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-W.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index-Y.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/doc-index.json
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/index.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/linuwial.css
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/meta.json
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/quick-jump.css
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/quick-jump.min.js
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-BlockTable.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-Debug.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-Extras.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-Frameset-Attributes.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-Frameset-Elements.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-Frameset.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-Internals.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-Strict-Attributes.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-Strict-Elements.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-Strict.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-Table.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-Transitional-Attributes.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-Transitional-Elements.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml-Transitional.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text-XHtml.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.BlockTable.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.Debug.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.Extras.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.Frameset.Attributes.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.Frameset.Elements.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.Frameset.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.Internals.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.Strict.Attributes.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.Strict.Elements.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.Strict.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.Table.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.Transitional.Attributes.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.Transitional.Elements.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.Transitional.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/Text.XHtml.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/highlight.js
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/hscolour.css
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/src/style.css
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/synopsis.png
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/xhtml.haddock
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2.1/xhtml.txt

References

Summary

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