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