How To Install ghc-stm-chans-prof on Fedora 36

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

Introduction

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

What is ghc-stm-chans-prof

This package provides the Haskell stm-chans profiling library.

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

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

sudo dnf -y install ghc-stm-chans-prof

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

sudo yum -y install ghc-stm-chans-prof

How To Uninstall ghc-stm-chans-prof on Fedora 36

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

sudo dnf remove ghc-stm-chans-prof

ghc-stm-chans-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/stm-chans-3.0.0.4/Control/Concurrent/STM/TBChan.p_hi
/usr/lib64/ghc-8.10.5/stm-chans-3.0.0.4/Control/Concurrent/STM/TBMChan.p_hi
/usr/lib64/ghc-8.10.5/stm-chans-3.0.0.4/Control/Concurrent/STM/TBMQueue.p_hi
/usr/lib64/ghc-8.10.5/stm-chans-3.0.0.4/Control/Concurrent/STM/TMChan.p_hi
/usr/lib64/ghc-8.10.5/stm-chans-3.0.0.4/Control/Concurrent/STM/TMQueue.p_hi
/usr/lib64/ghc-8.10.5/stm-chans-3.0.0.4/libHSstm-chans-3.0.0.4-KHX93OdHq4J7gERqC9jfvv_p.a

References

Summary

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