How To Install ghc-invariant-doc on Fedora 36

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

Introduction

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

What is ghc-invariant-doc

This package provides the Haskell invariant library documentation.

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

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

sudo dnf -y install ghc-invariant-doc

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

sudo yum -y install ghc-invariant-doc

How To Uninstall ghc-invariant-doc on Fedora 36

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

sudo dnf remove ghc-invariant-doc

ghc-invariant-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/invariant-0.5.4
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/Data-Functor-Invariant-TH.html
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/Data-Functor-Invariant.html
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/doc-index.html
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/index.html
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/invariant.haddock
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/invariant.txt
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/linuwial.css
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/meta.json
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/quick-jump.css
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/src
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/src/Data.Functor.Invariant.TH.Internal.html
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/src/Data.Functor.Invariant.TH.html
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/src/Data.Functor.Invariant.html
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/src/Paths_invariant.html
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/src/highlight.js
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/src/style.css
/usr/share/doc/ghc/html/libraries/invariant-0.5.4/synopsis.png

References

Summary

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