How To Install ghc-half-doc on Fedora 36

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

Introduction

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

What is ghc-half-doc

This package provides the Haskell half library documentation.

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

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

sudo dnf -y install ghc-half-doc

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

sudo yum -y install ghc-half-doc

How To Uninstall ghc-half-doc on Fedora 36

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

sudo dnf remove ghc-half-doc

ghc-half-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/half-0.3.1
/usr/share/doc/ghc/html/libraries/half-0.3.1/Numeric-Half-Internal.html
/usr/share/doc/ghc/html/libraries/half-0.3.1/Numeric-Half.html
/usr/share/doc/ghc/html/libraries/half-0.3.1/doc-index.html
/usr/share/doc/ghc/html/libraries/half-0.3.1/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/half-0.3.1/half.haddock
/usr/share/doc/ghc/html/libraries/half-0.3.1/half.txt
/usr/share/doc/ghc/html/libraries/half-0.3.1/index.html
/usr/share/doc/ghc/html/libraries/half-0.3.1/linuwial.css
/usr/share/doc/ghc/html/libraries/half-0.3.1/meta.json
/usr/share/doc/ghc/html/libraries/half-0.3.1/quick-jump.css
/usr/share/doc/ghc/html/libraries/half-0.3.1/src
/usr/share/doc/ghc/html/libraries/half-0.3.1/src/Numeric.Half.Internal.html
/usr/share/doc/ghc/html/libraries/half-0.3.1/src/Numeric.Half.html
/usr/share/doc/ghc/html/libraries/half-0.3.1/src/highlight.js
/usr/share/doc/ghc/html/libraries/half-0.3.1/src/style.css
/usr/share/doc/ghc/html/libraries/half-0.3.1/synopsis.png
/usr/share/licenses/ghc-half-doc
/usr/share/licenses/ghc-half-doc/LICENSE

References

Summary

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