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

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

Introduction

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

What is ghc-pretty-hex-doc

This package provides the Haskell pretty-hex library documentation.

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

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

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

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

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

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

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

sudo dnf remove ghc-pretty-hex-doc

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

/usr/share/doc/ghc/html/libraries/pretty-hex-1.1
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/Hexdump.html
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/doc-index.html
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/index.html
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/linuwial.css
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/meta.json
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/pretty-hex.haddock
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/pretty-hex.txt
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/quick-jump.css
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/src
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/src/Hexdump.html
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/src/highlight.js
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/src/style.css
/usr/share/doc/ghc/html/libraries/pretty-hex-1.1/synopsis.png

References

Summary

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