How To Install ghc-pretty-show-doc on Fedora 36

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

Introduction

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

What is ghc-pretty-show-doc

This package provides the Haskell pretty-show library documentation.

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

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

sudo dnf -y install ghc-pretty-show-doc

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

sudo yum -y install ghc-pretty-show-doc

How To Uninstall ghc-pretty-show-doc on Fedora 36

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

sudo dnf remove ghc-pretty-show-doc

ghc-pretty-show-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/pretty-show-1.10
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/Text-Show-Pretty.html
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/doc-index.html
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/index.html
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/linuwial.css
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/meta.json
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/pretty-show.haddock
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/pretty-show.txt
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/quick-jump.css
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/src
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/src/Paths_pretty_show.html
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/src/Text.Show.Html.html
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/src/Text.Show.Parser.html
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/src/Text.Show.Pretty.html
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/src/Text.Show.PrettyVal.html
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/src/Text.Show.Value.html
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/src/highlight.js
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/src/style.css
/usr/share/doc/ghc/html/libraries/pretty-show-1.10/synopsis.png
/usr/share/licenses/ghc-pretty-show-doc
/usr/share/licenses/ghc-pretty-show-doc/LICENSE

References

Summary

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