How To Install ghc-heaps-prof on Fedora 36
Introduction
In this tutorial we learn how to install ghc-heaps-prof
on Fedora 36.
What is ghc-heaps-prof
This package provides the Haskell heaps profiling library.
We can use yum
or dnf
to install ghc-heaps-prof
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-heaps-prof.
Install ghc-heaps-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-heaps-prof
using dnf
by running the following command:
sudo dnf -y install ghc-heaps-prof
Install ghc-heaps-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-heaps-prof
using yum
by running the following command:
sudo yum -y install ghc-heaps-prof
How To Uninstall ghc-heaps-prof on Fedora 36
To uninstall only the ghc-heaps-prof
package we can use the following command:
sudo dnf remove ghc-heaps-prof
ghc-heaps-prof Package Contents on Fedora 36
/usr/lib64/ghc-8.10.5/heaps-0.4/Data/Heap.p_hi
/usr/lib64/ghc-8.10.5/heaps-0.4/libHSheaps-0.4-8O0EXzXBd0u214X4NFU9VO_p.a
References
Summary
In this tutorial we learn how to install ghc-heaps-prof
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).