How To Install ghc-old-time on Fedora 36

In this tutorial we learn how to install ghc-old-time in Fedora 36. ghc-old-time is Time library

Introduction

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

What is ghc-old-time

This package provides the old time library. For new projects, the newer <http library is recommended.

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

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

sudo dnf -y install ghc-old-time

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

sudo yum -y install ghc-old-time

How To Uninstall ghc-old-time on Fedora 36

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

sudo dnf remove ghc-old-time

ghc-old-time Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/6e36c03d1ba8487fb8bde1a639cde53364d33e
/usr/lib64/libHSold-time-1.1.0.3-5QeB02DFiGY2qC6y1htCMN-ghc8.10.5.so
/usr/share/licenses/ghc-old-time
/usr/share/licenses/ghc-old-time/LICENSE

References

Summary

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