How To Install ghc-time-compat-prof on Fedora 36

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

Introduction

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

What is ghc-time-compat-prof

This package provides the Haskell time-compat profiling library.

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

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

sudo dnf -y install ghc-time-compat-prof

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

sudo yum -y install ghc-time-compat-prof

How To Uninstall ghc-time-compat-prof on Fedora 36

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

sudo dnf remove ghc-time-compat-prof

ghc-time-compat-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Format.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Calendar/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Calendar/Easter/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Calendar/Julian/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Calendar/Month/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Calendar/MonthDay/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Calendar/OrdinalDate/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Calendar/Private.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Calendar/Quarter/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Calendar/Types.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Calendar/WeekDate/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Clock/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Clock/POSIX/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Clock/System/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Clock/TAI/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Format/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Format/ISO8601/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/LocalTime/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/Data/Time/Orphans.p_hi
/usr/lib64/ghc-8.10.5/time-compat-1.9.5/libHStime-compat-1.9.5-Aqwn6t4iSAf27FyzRHBEs0_p.a

References

Summary

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