How To Install ghc-stm-prof on Fedora 36
Introduction
In this tutorial we learn how to install ghc-stm-prof on Fedora 36.
What is ghc-stm-prof
This package provides the Haskell stm profiling library.
We can use yum or dnf to install ghc-stm-prof on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-stm-prof.
Install ghc-stm-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-prof using dnf by running the following command:
sudo dnf -y install ghc-stm-prof
Install ghc-stm-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-prof using yum by running the following command:
sudo yum -y install ghc-stm-prof
How To Uninstall ghc-stm-prof on Fedora 36
To uninstall only the ghc-stm-prof package we can use the following command:
sudo dnf remove ghc-stm-prof
ghc-stm-prof Package Contents on Fedora 36
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM.p_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TArray.p_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TBQueue.p_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TChan.p_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TMVar.p_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TQueue.p_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TSem.p_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TVar.p_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Monad/STM.p_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Sequential/STM.p_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/libHSstm-2.5.0.1_p.a
References
Summary
In this tutorial we learn how to install ghc-stm-prof on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).