How To Install ghc-date-cache on Fedora 36

In this tutorial we learn how to install ghc-date-cache in Fedora 36. ghc-date-cache is Date cacher

Introduction

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

What is ghc-date-cache

Formatting time is slow. This package provides mechanisms to cache formatted date.

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

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

sudo dnf -y install ghc-date-cache

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

sudo yum -y install ghc-date-cache

How To Uninstall ghc-date-cache on Fedora 36

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

sudo dnf remove ghc-date-cache

ghc-date-cache Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/8879f6c2256bcefbdb2d30b6bfa9c594115f39
/usr/lib64/libHSdate-cache-0.3.0-EcN3imHMSMJRcWbSD00o4-ghc8.10.5.so
/usr/share/licenses/ghc-date-cache
/usr/share/licenses/ghc-date-cache/LICENSE

References

Summary

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