How To Install ghc-th-compat-doc on Fedora 36

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

Introduction

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

What is ghc-th-compat-doc

This package provides the Haskell th-compat library documentation.

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

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

sudo dnf -y install ghc-th-compat-doc

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

sudo yum -y install ghc-th-compat-doc

How To Uninstall ghc-th-compat-doc on Fedora 36

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

sudo dnf remove ghc-th-compat-doc

ghc-th-compat-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/th-compat-0.1.2
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/Language-Haskell-TH-Syntax-Compat.html
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/doc-index.html
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/index.html
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/linuwial.css
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/meta.json
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/quick-jump.css
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/src
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/src/Language.Haskell.TH.Syntax.Compat.html
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/src/highlight.js
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/src/style.css
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/synopsis.png
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/th-compat.haddock
/usr/share/doc/ghc/html/libraries/th-compat-0.1.2/th-compat.txt
/usr/share/licenses/ghc-th-compat-doc
/usr/share/licenses/ghc-th-compat-doc/LICENSE

References

Summary

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