How To Install ghc-hourglass on Fedora 36

In this tutorial we learn how to install ghc-hourglass in Fedora 36. ghc-hourglass is Simple performant time related library

Introduction

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

What is ghc-hourglass

Simple time library focusing on simple but powerful and performant API The backbone of the library are the Timeable and Time type classes. Each Timeable instances can be converted to type that has a Time instances, and thus are different representations of current time.

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

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

sudo dnf -y install ghc-hourglass

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

sudo yum -y install ghc-hourglass

How To Uninstall ghc-hourglass on Fedora 36

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

sudo dnf remove ghc-hourglass

ghc-hourglass Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/92
/usr/lib/.build-id/92/a9ec9229e33bf4e919ad672d6c8a21734cfe0f
/usr/lib64/libHShourglass-0.2.12-KAY87IspI415pwNO9qH8Yl-ghc8.10.5.so
/usr/share/licenses/ghc-hourglass
/usr/share/licenses/ghc-hourglass/LICENSE

References

Summary

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