How To Install ghc-yesod-form on Fedora 36

In this tutorial we learn how to install ghc-yesod-form in Fedora 36. ghc-yesod-form is Form handling support for Yesod Web Framework

Introduction

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

What is ghc-yesod-form

Form handling for Yesod, in the same style as formlets. See the forms chapter of the Yesod book. This package provides a set of basic form inputs such as text, number, time, checkbox, select, textarea, and etc. via Yesod.Form.Fields module.

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

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

sudo dnf -y install ghc-yesod-form

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

sudo yum -y install ghc-yesod-form

How To Uninstall ghc-yesod-form on Fedora 36

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

sudo dnf remove ghc-yesod-form

ghc-yesod-form Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/7754751679f8e39042aae4cdea78da024c6c37
/usr/lib64/libHSyesod-form-1.7.0-5obHRPJYyka9G5AN4Ki5jc-ghc8.10.5.so
/usr/share/licenses/ghc-yesod-form
/usr/share/licenses/ghc-yesod-form/LICENSE

References

Summary

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