How To Install ghc-scotty-doc on Fedora 36

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

Introduction

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

What is ghc-scotty-doc

This package provides the Haskell scotty library documentation.

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

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

sudo dnf -y install ghc-scotty-doc

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

sudo yum -y install ghc-scotty-doc

How To Uninstall ghc-scotty-doc on Fedora 36

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

sudo dnf remove ghc-scotty-doc

ghc-scotty-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/scotty-0.12
/usr/share/doc/ghc/html/libraries/scotty-0.12/Web-Scotty-Internal-Types.html
/usr/share/doc/ghc/html/libraries/scotty-0.12/Web-Scotty-Trans.html
/usr/share/doc/ghc/html/libraries/scotty-0.12/Web-Scotty.html
/usr/share/doc/ghc/html/libraries/scotty-0.12/doc-index.html
/usr/share/doc/ghc/html/libraries/scotty-0.12/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/scotty-0.12/index.html
/usr/share/doc/ghc/html/libraries/scotty-0.12/linuwial.css
/usr/share/doc/ghc/html/libraries/scotty-0.12/meta.json
/usr/share/doc/ghc/html/libraries/scotty-0.12/quick-jump.css
/usr/share/doc/ghc/html/libraries/scotty-0.12/scotty.haddock
/usr/share/doc/ghc/html/libraries/scotty-0.12/scotty.txt
/usr/share/doc/ghc/html/libraries/scotty-0.12/src
/usr/share/doc/ghc/html/libraries/scotty-0.12/src/Web.Scotty.Action.html
/usr/share/doc/ghc/html/libraries/scotty-0.12/src/Web.Scotty.Internal.Types.html
/usr/share/doc/ghc/html/libraries/scotty-0.12/src/Web.Scotty.Route.html
/usr/share/doc/ghc/html/libraries/scotty-0.12/src/Web.Scotty.Trans.html
/usr/share/doc/ghc/html/libraries/scotty-0.12/src/Web.Scotty.Util.html
/usr/share/doc/ghc/html/libraries/scotty-0.12/src/Web.Scotty.html
/usr/share/doc/ghc/html/libraries/scotty-0.12/src/highlight.js
/usr/share/doc/ghc/html/libraries/scotty-0.12/src/style.css
/usr/share/doc/ghc/html/libraries/scotty-0.12/synopsis.png
/usr/share/licenses/ghc-scotty-doc
/usr/share/licenses/ghc-scotty-doc/LICENSE

References

Summary

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