How To Install ghc-free-prof on Fedora 36

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

Introduction

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

What is ghc-free-prof

This package provides the Haskell free profiling library.

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

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

sudo dnf -y install ghc-free-prof

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

sudo yum -y install ghc-free-prof

How To Uninstall ghc-free-prof on Fedora 36

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

sudo dnf remove ghc-free-prof

ghc-free-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Alternative/Free.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Alternative/Free/Final.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Free.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Free/Fast.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Free/Final.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Trans/Free.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Cofree.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Cofree/Class.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Trans/Cofree.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Trans/Coiter.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free/Ap.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free/Church.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free/Class.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free/TH.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans/Free.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans/Free/Ap.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans/Free/Church.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans/Iter.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Data/Functor/Classes/Compat.p_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/libHSfree-5.1.7-CanjhrJjbH71mS0XjLAgmX_p.a

References

Summary

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