How To Install ghc-primitive-doc on Fedora 36

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

Introduction

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

What is ghc-primitive-doc

This package provides the Haskell primitive library documentation.

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

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

sudo dnf -y install ghc-primitive-doc

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

sudo yum -y install ghc-primitive-doc

How To Uninstall ghc-primitive-doc on Fedora 36

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

sudo dnf remove ghc-primitive-doc

ghc-primitive-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/Control-Monad-Primitive.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/Data-Primitive-Array.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/Data-Primitive-ByteArray.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/Data-Primitive-MVar.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/Data-Primitive-MachDeps.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/Data-Primitive-MutVar.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/Data-Primitive-PrimArray.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/Data-Primitive-Ptr.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/Data-Primitive-SmallArray.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/Data-Primitive-Types.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/Data-Primitive.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-A.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-All.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-B.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-C.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-D.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-E.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-F.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-G.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-I.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-L.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-M.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-N.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-P.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-R.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-S.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-T.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-U.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index-W.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/doc-index.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/index.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/linuwial.css
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/meta.json
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/primitive.haddock
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/primitive.txt
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/quick-jump.css
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/Control.Monad.Primitive.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/Data.Primitive.Array.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/Data.Primitive.ByteArray.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/Data.Primitive.Internal.Compat.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/Data.Primitive.Internal.Operations.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/Data.Primitive.MVar.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/Data.Primitive.MachDeps.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/Data.Primitive.MutVar.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/Data.Primitive.PrimArray.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/Data.Primitive.Ptr.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/Data.Primitive.SmallArray.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/Data.Primitive.Types.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/Data.Primitive.html
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/highlight.js
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/src/style.css
/usr/share/doc/ghc/html/libraries/primitive-0.7.1.0/synopsis.png
/usr/share/licenses/ghc-primitive-doc
/usr/share/licenses/ghc-primitive-doc/LICENSE

References

Summary

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