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

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

Introduction

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

What is ghc-time-locale-compat-prof

This package provides the Haskell time-locale-compat profiling library.

We can use yum or dnf to install ghc-time-locale-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-locale-compat-prof.

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

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

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

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

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

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

sudo dnf remove ghc-time-locale-compat-prof

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

/usr/lib64/ghc-8.10.5/time-locale-compat-0.1.1.5/Data/Time/Locale/Compat.p_hi
/usr/lib64/ghc-8.10.5/time-locale-compat-0.1.1.5/libHStime-locale-compat-0.1.1.5-8qsrxXMQH9B7DrSl3vwbIP_p.a

References

Summary

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