How To Install ghc-call-stack-prof on Fedora 36

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

Introduction

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

What is ghc-call-stack-prof

This package provides the Haskell call-stack profiling library.

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

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

sudo dnf -y install ghc-call-stack-prof

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

sudo yum -y install ghc-call-stack-prof

How To Uninstall ghc-call-stack-prof on Fedora 36

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

sudo dnf remove ghc-call-stack-prof

ghc-call-stack-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/call-stack-0.3.0/Data/CallStack.p_hi
/usr/lib64/ghc-8.10.5/call-stack-0.3.0/Data/SrcLoc.p_hi
/usr/lib64/ghc-8.10.5/call-stack-0.3.0/Paths_call_stack.p_hi
/usr/lib64/ghc-8.10.5/call-stack-0.3.0/libHScall-stack-0.3.0-7YJWguhiMl4hTrggyEySw_p.a

References

Summary

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