How To Install ghc-unix-time on Fedora 36

In this tutorial we learn how to install ghc-unix-time in Fedora 36. ghc-unix-time is Unix time parser/formatter and utilities

Introduction

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

What is ghc-unix-time

Fast parser, formatter, and utilities for Unix time

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

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

sudo dnf -y install ghc-unix-time

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

sudo yum -y install ghc-unix-time

How To Uninstall ghc-unix-time on Fedora 36

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

sudo dnf remove ghc-unix-time

ghc-unix-time Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/53
/usr/lib/.build-id/53/7405dabaf78faf00b4f9c24981cee9feaa56ea
/usr/lib64/libHSunix-time-0.4.7-8pxXd822NQt6J0xcLQyzm2-ghc8.10.5.so
/usr/share/licenses/ghc-unix-time
/usr/share/licenses/ghc-unix-time/LICENSE

References

Summary

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