How To Install ghc-json-doc on Fedora 36

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

Introduction

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

What is ghc-json-doc

This package provides the Haskell json library documentation.

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

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

sudo dnf -y install ghc-json-doc

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

sudo yum -y install ghc-json-doc

How To Uninstall ghc-json-doc on Fedora 36

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

sudo dnf remove ghc-json-doc

ghc-json-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/json-0.10
/usr/share/doc/ghc/html/libraries/json-0.10/Text-JSON-Generic.html
/usr/share/doc/ghc/html/libraries/json-0.10/Text-JSON-Parsec.html
/usr/share/doc/ghc/html/libraries/json-0.10/Text-JSON-Pretty.html
/usr/share/doc/ghc/html/libraries/json-0.10/Text-JSON-ReadP.html
/usr/share/doc/ghc/html/libraries/json-0.10/Text-JSON-String.html
/usr/share/doc/ghc/html/libraries/json-0.10/Text-JSON-Types.html
/usr/share/doc/ghc/html/libraries/json-0.10/Text-JSON.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-36.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-43.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-60.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-A.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-All.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-B.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-C.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-D.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-E.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-F.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-G.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-H.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-I.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-J.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-L.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-M.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-N.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-O.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-P.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-Q.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-R.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-S.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-T.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-U.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-V.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index-Z.html
/usr/share/doc/ghc/html/libraries/json-0.10/doc-index.html
/usr/share/doc/ghc/html/libraries/json-0.10/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/json-0.10/index.html
/usr/share/doc/ghc/html/libraries/json-0.10/json.haddock
/usr/share/doc/ghc/html/libraries/json-0.10/json.txt
/usr/share/doc/ghc/html/libraries/json-0.10/linuwial.css
/usr/share/doc/ghc/html/libraries/json-0.10/meta.json
/usr/share/doc/ghc/html/libraries/json-0.10/quick-jump.css
/usr/share/doc/ghc/html/libraries/json-0.10/src
/usr/share/doc/ghc/html/libraries/json-0.10/src/Text.JSON.Generic.html
/usr/share/doc/ghc/html/libraries/json-0.10/src/Text.JSON.Parsec.html
/usr/share/doc/ghc/html/libraries/json-0.10/src/Text.JSON.Pretty.html
/usr/share/doc/ghc/html/libraries/json-0.10/src/Text.JSON.ReadP.html
/usr/share/doc/ghc/html/libraries/json-0.10/src/Text.JSON.String.html
/usr/share/doc/ghc/html/libraries/json-0.10/src/Text.JSON.Types.html
/usr/share/doc/ghc/html/libraries/json-0.10/src/Text.JSON.html
/usr/share/doc/ghc/html/libraries/json-0.10/src/highlight.js
/usr/share/doc/ghc/html/libraries/json-0.10/src/style.css
/usr/share/doc/ghc/html/libraries/json-0.10/synopsis.png
/usr/share/licenses/ghc-json-doc
/usr/share/licenses/ghc-json-doc/LICENSE

References

Summary

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