How To Install ghc-time-compat on Fedora 36

In this tutorial we learn how to install ghc-time-compat in Fedora 36. ghc-time-compat is Compatibility package for time

Introduction

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

What is ghc-time-compat

This packages tries to compat as much of ’time’ features as possible.

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

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

sudo dnf -y install ghc-time-compat

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

sudo yum -y install ghc-time-compat

How To Uninstall ghc-time-compat on Fedora 36

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

sudo dnf remove ghc-time-compat

ghc-time-compat Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/12df358394d833e3520792bcd709bb2aeda483
/usr/lib64/libHStime-compat-1.9.5-Aqwn6t4iSAf27FyzRHBEs0-ghc8.10.5.so
/usr/share/licenses/ghc-time-compat
/usr/share/licenses/ghc-time-compat/LICENSE

References

Summary

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