How To Install ghc-call-stack on Fedora 36

In this tutorial we learn how to install ghc-call-stack in Fedora 36. ghc-call-stack is GHC call-stacks backward compatibility

Introduction

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

What is ghc-call-stack

Use GHC call-stacks in a backward compatible way.

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

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

sudo dnf -y install ghc-call-stack

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

sudo yum -y install ghc-call-stack

How To Uninstall ghc-call-stack on Fedora 36

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

sudo dnf remove ghc-call-stack

ghc-call-stack Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/0cc1d18ecaecec96153ed5885d3f4792069f16
/usr/lib64/libHScall-stack-0.3.0-7YJWguhiMl4hTrggyEySw-ghc8.10.5.so
/usr/share/licenses/ghc-call-stack
/usr/share/licenses/ghc-call-stack/LICENSE

References

Summary

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