How To Install ghc-scotty-devel on Fedora 36

In this tutorial we learn how to install ghc-scotty-devel in Fedora 36. ghc-scotty-devel is Haskell scotty library development files

Introduction

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

What is ghc-scotty-devel

This package provides the Haskell scotty library development files.

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

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

sudo dnf -y install ghc-scotty-devel

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

sudo yum -y install ghc-scotty-devel

How To Uninstall ghc-scotty-devel on Fedora 36

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

sudo dnf remove ghc-scotty-devel

ghc-scotty-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/scotty-0.12.conf
/usr/lib64/ghc-8.10.5/scotty-0.12
/usr/lib64/ghc-8.10.5/scotty-0.12/Web
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty.dyn_hi
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty.hi
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty/Action.dyn_hi
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty/Action.hi
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty/Internal
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty/Internal/Types.dyn_hi
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty/Internal/Types.hi
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty/Route.dyn_hi
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty/Route.hi
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty/Trans.dyn_hi
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty/Trans.hi
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty/Util.dyn_hi
/usr/lib64/ghc-8.10.5/scotty-0.12/Web/Scotty/Util.hi
/usr/lib64/ghc-8.10.5/scotty-0.12/libHSscotty-0.12-FdFP6ASqF9fjChXVTYcdt.a
/usr/share/doc/ghc-scotty-devel
/usr/share/doc/ghc-scotty-devel/README.md
/usr/share/doc/ghc-scotty-devel/changelog.md
/usr/share/doc/ghc-scotty-devel/examples
/usr/share/doc/ghc-scotty-devel/examples/404.html
/usr/share/doc/ghc-scotty-devel/examples/LICENSE
/usr/share/doc/ghc-scotty-devel/examples/basic.hs
/usr/share/doc/ghc-scotty-devel/examples/bodyecho.hs
/usr/share/doc/ghc-scotty-devel/examples/cookies.hs
/usr/share/doc/ghc-scotty-devel/examples/exceptions.hs
/usr/share/doc/ghc-scotty-devel/examples/globalstate.hs
/usr/share/doc/ghc-scotty-devel/examples/gzip.hs
/usr/share/doc/ghc-scotty-devel/examples/options.hs
/usr/share/doc/ghc-scotty-devel/examples/reader.hs
/usr/share/doc/ghc-scotty-devel/examples/static
/usr/share/doc/ghc-scotty-devel/examples/static/jquery-json.js
/usr/share/doc/ghc-scotty-devel/examples/static/jquery.js
/usr/share/doc/ghc-scotty-devel/examples/upload.hs
/usr/share/doc/ghc-scotty-devel/examples/uploads
/usr/share/doc/ghc-scotty-devel/examples/uploads/.keep
/usr/share/doc/ghc-scotty-devel/examples/urlshortener.hs

References

Summary

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