How To Install ghc-hourglass-prof on Fedora 36

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

Introduction

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

What is ghc-hourglass-prof

This package provides the Haskell hourglass profiling library.

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

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

sudo dnf -y install ghc-hourglass-prof

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

sudo yum -y install ghc-hourglass-prof

How To Uninstall ghc-hourglass-prof on Fedora 36

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

sudo dnf remove ghc-hourglass-prof

ghc-hourglass-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Data/Hourglass.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Data/Hourglass/Calendar.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Data/Hourglass/Compat.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Data/Hourglass/Diff.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Data/Hourglass/Epoch.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Data/Hourglass/Format.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Data/Hourglass/Internal.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Data/Hourglass/Internal/Unix.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Data/Hourglass/Local.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Data/Hourglass/Time.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Data/Hourglass/Types.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Data/Hourglass/Utils.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Data/Hourglass/Zone.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/System/Hourglass.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Time/Compat.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Time/System.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/Time/Types.p_hi
/usr/lib64/ghc-8.10.5/hourglass-0.2.12/libHShourglass-0.2.12-KAY87IspI415pwNO9qH8Yl_p.a

References

Summary

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