How To Install ghc-req-doc on Fedora 36

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

Introduction

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

What is ghc-req-doc

This package provides the Haskell req library documentation.

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

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

sudo dnf -y install ghc-req-doc

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

sudo yum -y install ghc-req-doc

How To Uninstall ghc-req-doc on Fedora 36

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

sudo dnf remove ghc-req-doc

ghc-req-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/req-3.9.0
/usr/share/doc/ghc/html/libraries/req-3.9.0/CHANGELOG.md
/usr/share/doc/ghc/html/libraries/req-3.9.0/Network-HTTP-Req.html
/usr/share/doc/ghc/html/libraries/req-3.9.0/README.md
/usr/share/doc/ghc/html/libraries/req-3.9.0/doc-index.html
/usr/share/doc/ghc/html/libraries/req-3.9.0/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/req-3.9.0/index.html
/usr/share/doc/ghc/html/libraries/req-3.9.0/linuwial.css
/usr/share/doc/ghc/html/libraries/req-3.9.0/meta.json
/usr/share/doc/ghc/html/libraries/req-3.9.0/quick-jump.css
/usr/share/doc/ghc/html/libraries/req-3.9.0/req.haddock
/usr/share/doc/ghc/html/libraries/req-3.9.0/req.txt
/usr/share/doc/ghc/html/libraries/req-3.9.0/src
/usr/share/doc/ghc/html/libraries/req-3.9.0/src/Network.HTTP.Req.html
/usr/share/doc/ghc/html/libraries/req-3.9.0/src/highlight.js
/usr/share/doc/ghc/html/libraries/req-3.9.0/src/style.css
/usr/share/doc/ghc/html/libraries/req-3.9.0/synopsis.png
/usr/share/licenses/ghc-req-doc
/usr/share/licenses/ghc-req-doc/LICENSE.md

References

Summary

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