How To Install ghc-yesod-persistent on Fedora 36

In this tutorial we learn how to install ghc-yesod-persistent in Fedora 36. ghc-yesod-persistent is Some helpers for using Persistent from Yesod

Introduction

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

What is ghc-yesod-persistent

Some helpers for using the Persistent library from Yesod.

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

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

sudo dnf -y install ghc-yesod-persistent

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

sudo yum -y install ghc-yesod-persistent

How To Uninstall ghc-yesod-persistent on Fedora 36

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

sudo dnf remove ghc-yesod-persistent

ghc-yesod-persistent Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/613992a3a6884eeab5645f2e0e0a44932b144f
/usr/lib64/libHSyesod-persistent-1.6.0.7-3tJ8F2MuGkt5nv9Gvldy8f-ghc8.10.5.so
/usr/share/licenses/ghc-yesod-persistent
/usr/share/licenses/ghc-yesod-persistent/LICENSE

References

Summary

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