How To Install ghc-timeit on Fedora 36

In this tutorial we learn how to install ghc-timeit in Fedora 36. ghc-timeit is Haskell timeit library

Introduction

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

What is ghc-timeit

This package provides the Haskell timeit library.

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

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

sudo dnf -y install ghc-timeit

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

sudo yum -y install ghc-timeit

How To Uninstall ghc-timeit on Fedora 36

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

sudo dnf remove ghc-timeit

ghc-timeit Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/34a736afbe54274714a521e7cf93905db6c1c6
/usr/lib64/libHStimeit-2.0-9v31DY9p9ojLe6jxDFX4lL-ghc8.10.5.so
/usr/share/licenses/ghc-timeit
/usr/share/licenses/ghc-timeit/LICENSE

References

Summary

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