How To Install ghc-pretty-doc on Fedora 36

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

Introduction

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

What is ghc-pretty-doc

This package provides the Haskell pretty library documentation.

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

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

sudo dnf -y install ghc-pretty-doc

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

sudo yum -y install ghc-pretty-doc

How To Uninstall ghc-pretty-doc on Fedora 36

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

sudo dnf remove ghc-pretty-doc

ghc-pretty-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/Text-PrettyPrint-Annotated-HughesPJ.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/Text-PrettyPrint-Annotated-HughesPJClass.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/Text-PrettyPrint-Annotated.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/Text-PrettyPrint-HughesPJ.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/Text-PrettyPrint-HughesPJClass.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/Text-PrettyPrint.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/doc-index.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/doc-index.json
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/index.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/linuwial.css
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/meta.json
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/pretty.haddock
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/pretty.txt
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/quick-jump.css
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/quick-jump.min.js
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/Text-PrettyPrint-Annotated-HughesPJ.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/Text-PrettyPrint-Annotated-HughesPJClass.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/Text-PrettyPrint-Annotated.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/Text-PrettyPrint-HughesPJ.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/Text-PrettyPrint-HughesPJClass.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/Text-PrettyPrint.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/Text.PrettyPrint.Annotated.HughesPJ.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/Text.PrettyPrint.Annotated.HughesPJClass.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/Text.PrettyPrint.Annotated.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/Text.PrettyPrint.HughesPJ.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/Text.PrettyPrint.HughesPJClass.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/Text.PrettyPrint.html
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/highlight.js
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/hscolour.css
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/src/style.css
/usr/share/doc/ghc/html/libraries/pretty-1.1.3.6/synopsis.png

References

Summary

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