How To Install ghc-yesod on Fedora 36

In this tutorial we learn how to install ghc-yesod in Fedora 36. ghc-yesod is Creation of type-safe, RESTful web applications

Introduction

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

What is ghc-yesod

The yesod package groups together the various Yesod related packages into one cohesive whole.

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

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

sudo dnf -y install ghc-yesod

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

sudo yum -y install ghc-yesod

How To Uninstall ghc-yesod on Fedora 36

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

sudo dnf remove ghc-yesod

ghc-yesod Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/c5d37c5874d133ef47f54ecd960052f341e87d
/usr/lib64/libHSyesod-1.6.1.2-9a90FW922PhCg1t4ogJ4O-ghc8.10.5.so
/usr/share/licenses/ghc-yesod
/usr/share/licenses/ghc-yesod/LICENSE

References

Summary

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