How To Install ghc-hpack-doc on Fedora 36

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

Introduction

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

What is ghc-hpack-doc

This package provides the Haskell hpack library documentation.

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

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

sudo dnf -y install ghc-hpack-doc

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

sudo yum -y install ghc-hpack-doc

How To Uninstall ghc-hpack-doc on Fedora 36

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

sudo dnf remove ghc-hpack-doc

ghc-hpack-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/hpack-0.34.4
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/Hpack-Config.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/Hpack-Render.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/Hpack-Yaml.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/Hpack.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-46.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-A.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-All.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-B.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-C.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-D.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-E.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-F.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-G.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-H.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-L.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-M.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-N.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-O.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-P.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-R.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-S.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-T.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-U.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-V.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index-W.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/doc-index.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/hpack.haddock
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/hpack.txt
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/index.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/linuwial.css
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/meta.json
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/quick-jump.css
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Data.Aeson.Config.FromValue.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Data.Aeson.Config.Parser.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Data.Aeson.Config.Types.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Data.Aeson.Config.Util.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.CabalFile.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Config.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Defaults.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Haskell.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.License.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Module.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Options.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Render.Dsl.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Render.Hints.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Render.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Syntax.BuildTools.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Syntax.Defaults.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Syntax.Dependencies.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Syntax.DependencyVersion.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Syntax.Git.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Syntax.ParseDependencies.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Utf8.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Util.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.Yaml.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Hpack.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Path.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/Paths_hpack.html
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/highlight.js
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/src/style.css
/usr/share/doc/ghc/html/libraries/hpack-0.34.4/synopsis.png

References

Summary

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