How To Install ghc-cab-doc on Fedora 36

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

Introduction

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

What is ghc-cab-doc

This package provides the Haskell cab library documentation.

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

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

sudo dnf -y install ghc-cab-doc

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

sudo yum -y install ghc-cab-doc

How To Uninstall ghc-cab-doc on Fedora 36

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

sudo dnf remove ghc-cab-doc

ghc-cab-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/cab-0.2.19
/usr/share/doc/ghc/html/libraries/cab-0.2.19/Distribution-Cab-PkgDB.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/Distribution-Cab-Printer.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/Distribution-Cab-Sandbox.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/Distribution-Cab-VerDB.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/Distribution-Cab-Version.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/Distribution-Cab.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/cab.haddock
/usr/share/doc/ghc/html/libraries/cab-0.2.19/cab.txt
/usr/share/doc/ghc/html/libraries/cab-0.2.19/doc-index.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/cab-0.2.19/index.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/linuwial.css
/usr/share/doc/ghc/html/libraries/cab-0.2.19/meta.json
/usr/share/doc/ghc/html/libraries/cab-0.2.19/quick-jump.css
/usr/share/doc/ghc/html/libraries/cab-0.2.19/src
/usr/share/doc/ghc/html/libraries/cab-0.2.19/src/Distribution.Cab.Commands.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/src/Distribution.Cab.GenPaths.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/src/Distribution.Cab.PkgDB.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/src/Distribution.Cab.Printer.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/src/Distribution.Cab.Sandbox.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/src/Distribution.Cab.Utils.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/src/Distribution.Cab.VerDB.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/src/Distribution.Cab.Version.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/src/Distribution.Cab.html
/usr/share/doc/ghc/html/libraries/cab-0.2.19/src/highlight.js
/usr/share/doc/ghc/html/libraries/cab-0.2.19/src/style.css
/usr/share/doc/ghc/html/libraries/cab-0.2.19/synopsis.png
/usr/share/licenses/ghc-cab-doc
/usr/share/licenses/ghc-cab-doc/LICENSE

References

Summary

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