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

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

Introduction

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

What is ghc-pretty-terminal-doc

This package provides the Haskell pretty-terminal library documentation.

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

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

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

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

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

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

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

sudo dnf remove ghc-pretty-terminal-doc

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

/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/System-Console-Pretty.html
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/doc-index.html
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/index.html
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/linuwial.css
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/meta.json
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/pretty-terminal.haddock
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/pretty-terminal.txt
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/quick-jump.css
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/src
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/src/Paths_pretty_terminal.html
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/src/System.Console.Pretty.html
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/src/highlight.js
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/src/style.css
/usr/share/doc/ghc/html/libraries/pretty-terminal-0.1.0.0/synopsis.png
/usr/share/licenses/ghc-pretty-terminal-doc
/usr/share/licenses/ghc-pretty-terminal-doc/LICENSE

References

Summary

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