How To Install ghc-path-doc on Fedora 36

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

Introduction

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

What is ghc-path-doc

This package provides the Haskell path library documentation.

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

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

sudo dnf -y install ghc-path-doc

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

sudo yum -y install ghc-path-doc

How To Uninstall ghc-path-doc on Fedora 36

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

sudo dnf remove ghc-path-doc

ghc-path-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/path-0.8.0
/usr/share/doc/ghc/html/libraries/path-0.8.0/Path-Internal.html
/usr/share/doc/ghc/html/libraries/path-0.8.0/Path-Posix.html
/usr/share/doc/ghc/html/libraries/path-0.8.0/Path-Windows.html
/usr/share/doc/ghc/html/libraries/path-0.8.0/Path.html
/usr/share/doc/ghc/html/libraries/path-0.8.0/doc-index.html
/usr/share/doc/ghc/html/libraries/path-0.8.0/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/path-0.8.0/index.html
/usr/share/doc/ghc/html/libraries/path-0.8.0/linuwial.css
/usr/share/doc/ghc/html/libraries/path-0.8.0/meta.json
/usr/share/doc/ghc/html/libraries/path-0.8.0/path.haddock
/usr/share/doc/ghc/html/libraries/path-0.8.0/path.txt
/usr/share/doc/ghc/html/libraries/path-0.8.0/quick-jump.css
/usr/share/doc/ghc/html/libraries/path-0.8.0/src
/usr/share/doc/ghc/html/libraries/path-0.8.0/src/Path.Internal.html
/usr/share/doc/ghc/html/libraries/path-0.8.0/src/Path.Posix.html
/usr/share/doc/ghc/html/libraries/path-0.8.0/src/Path.Windows.html
/usr/share/doc/ghc/html/libraries/path-0.8.0/src/Path.html
/usr/share/doc/ghc/html/libraries/path-0.8.0/src/highlight.js
/usr/share/doc/ghc/html/libraries/path-0.8.0/src/style.css
/usr/share/doc/ghc/html/libraries/path-0.8.0/synopsis.png
/usr/share/licenses/ghc-path-doc
/usr/share/licenses/ghc-path-doc/LICENSE

References

Summary

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