How To Install ghc-yesod-prof on Fedora 36

In this tutorial we learn how to install ghc-yesod-prof in Fedora 36. ghc-yesod-prof is Haskell yesod profiling library

Introduction

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

What is ghc-yesod-prof

This package provides the Haskell yesod profiling library.

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

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

sudo dnf -y install ghc-yesod-prof

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

sudo yum -y install ghc-yesod-prof

How To Uninstall ghc-yesod-prof on Fedora 36

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

sudo dnf remove ghc-yesod-prof

ghc-yesod-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/yesod-1.6.1.2/Yesod.p_hi
/usr/lib64/ghc-8.10.5/yesod-1.6.1.2/Yesod/Default/Config.p_hi
/usr/lib64/ghc-8.10.5/yesod-1.6.1.2/Yesod/Default/Config2.p_hi
/usr/lib64/ghc-8.10.5/yesod-1.6.1.2/Yesod/Default/Handlers.p_hi
/usr/lib64/ghc-8.10.5/yesod-1.6.1.2/Yesod/Default/Main.p_hi
/usr/lib64/ghc-8.10.5/yesod-1.6.1.2/Yesod/Default/Util.p_hi
/usr/lib64/ghc-8.10.5/yesod-1.6.1.2/libHSyesod-1.6.1.2-9a90FW922PhCg1t4ogJ4O_p.a

References

Summary

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