How To Install ghc-tasty on Fedora 36

In this tutorial we learn how to install ghc-tasty in Fedora 36. ghc-tasty is Modern and extensible testing framework

Introduction

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

What is ghc-tasty

Tasty is a modern testing framework for Haskell. It lets you combine your unit tests, golden tests, QuickCheck/SmallCheck properties, and any other types of tests into a single test suite.

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

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

sudo dnf -y install ghc-tasty

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

sudo yum -y install ghc-tasty

How To Uninstall ghc-tasty on Fedora 36

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

sudo dnf remove ghc-tasty

ghc-tasty Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/9fb26a898f3f5282911cc683d0f982af21fc4f
/usr/lib64/libHStasty-1.4.1-5mO42rID0La679vg8RZ1OA-ghc8.10.5.so
/usr/share/licenses/ghc-tasty
/usr/share/licenses/ghc-tasty/LICENSE

References

Summary

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