How To Install ghc-hpc-doc on Fedora 36

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

Introduction

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

What is ghc-hpc-doc

This package provides the Haskell hpc library documentation.

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

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

sudo dnf -y install ghc-hpc-doc

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

sudo yum -y install ghc-hpc-doc

How To Uninstall ghc-hpc-doc on Fedora 36

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

sudo dnf remove ghc-hpc-doc

ghc-hpc-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/Trace-Hpc-Mix.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/Trace-Hpc-Reflect.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/Trace-Hpc-Tix.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/Trace-Hpc-Util.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/doc-index.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/doc-index.json
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/hpc.haddock
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/hpc.txt
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/index.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/linuwial.css
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/meta.json
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/quick-jump.css
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/quick-jump.min.js
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/src
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/src/Trace-Hpc-Mix.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/src/Trace-Hpc-Reflect.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/src/Trace-Hpc-Tix.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/src/Trace-Hpc-Util.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/src/Trace.Hpc.Mix.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/src/Trace.Hpc.Reflect.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/src/Trace.Hpc.Tix.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/src/Trace.Hpc.Util.html
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/src/highlight.js
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/src/hscolour.css
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/src/style.css
/usr/share/doc/ghc/html/libraries/hpc-0.6.1.0/synopsis.png

References

Summary

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