How To Install ghc-safe-doc on Fedora 36

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

Introduction

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

What is ghc-safe-doc

This package provides the Haskell safe library documentation.

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

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

sudo dnf -y install ghc-safe-doc

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

sudo yum -y install ghc-safe-doc

How To Uninstall ghc-safe-doc on Fedora 36

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

sudo dnf remove ghc-safe-doc

ghc-safe-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/safe-0.3.19
/usr/share/doc/ghc/html/libraries/safe-0.3.19/CHANGES.txt
/usr/share/doc/ghc/html/libraries/safe-0.3.19/README.md
/usr/share/doc/ghc/html/libraries/safe-0.3.19/Safe-Exact.html
/usr/share/doc/ghc/html/libraries/safe-0.3.19/Safe-Foldable.html
/usr/share/doc/ghc/html/libraries/safe-0.3.19/Safe-Partial.html
/usr/share/doc/ghc/html/libraries/safe-0.3.19/Safe.html
/usr/share/doc/ghc/html/libraries/safe-0.3.19/doc-index.html
/usr/share/doc/ghc/html/libraries/safe-0.3.19/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/safe-0.3.19/index.html
/usr/share/doc/ghc/html/libraries/safe-0.3.19/linuwial.css
/usr/share/doc/ghc/html/libraries/safe-0.3.19/meta.json
/usr/share/doc/ghc/html/libraries/safe-0.3.19/quick-jump.css
/usr/share/doc/ghc/html/libraries/safe-0.3.19/safe.haddock
/usr/share/doc/ghc/html/libraries/safe-0.3.19/safe.txt
/usr/share/doc/ghc/html/libraries/safe-0.3.19/src
/usr/share/doc/ghc/html/libraries/safe-0.3.19/src/Safe.Exact.html
/usr/share/doc/ghc/html/libraries/safe-0.3.19/src/Safe.Foldable.html
/usr/share/doc/ghc/html/libraries/safe-0.3.19/src/Safe.Partial.html
/usr/share/doc/ghc/html/libraries/safe-0.3.19/src/Safe.Util.html
/usr/share/doc/ghc/html/libraries/safe-0.3.19/src/Safe.html
/usr/share/doc/ghc/html/libraries/safe-0.3.19/src/highlight.js
/usr/share/doc/ghc/html/libraries/safe-0.3.19/src/style.css
/usr/share/doc/ghc/html/libraries/safe-0.3.19/synopsis.png
/usr/share/licenses/ghc-safe-doc
/usr/share/licenses/ghc-safe-doc/LICENSE

References

Summary

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