How To Install ghc-date-cache-prof on Fedora 36

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

Introduction

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

What is ghc-date-cache-prof

This package provides the Haskell date-cache profiling library.

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

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

sudo dnf -y install ghc-date-cache-prof

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

sudo yum -y install ghc-date-cache-prof

How To Uninstall ghc-date-cache-prof on Fedora 36

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

sudo dnf remove ghc-date-cache-prof

ghc-date-cache-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/date-cache-0.3.0/System/Date/Cache.p_hi
/usr/lib64/ghc-8.10.5/date-cache-0.3.0/libHSdate-cache-0.3.0-EcN3imHMSMJRcWbSD00o4_p.a

References

Summary

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