How To Install ghc-tasty-hunit on Fedora 36

In this tutorial we learn how to install ghc-tasty-hunit in Fedora 36. ghc-tasty-hunit is HUnit support for the Tasty test framework

Introduction

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

What is ghc-tasty-hunit

HUnit support for the Tasty test framework. Note that this package does not depend on HUnit but implements the relevant subset of its API. The name is a legacy of the early versions of tasty-hunit and of test-framework-hunit, which did depend on HUnit.

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

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

sudo dnf -y install ghc-tasty-hunit

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

sudo yum -y install ghc-tasty-hunit

How To Uninstall ghc-tasty-hunit on Fedora 36

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

sudo dnf remove ghc-tasty-hunit

ghc-tasty-hunit Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/78ea9658ef69b1bd1c95c45d0133ab2eedd523
/usr/lib64/libHStasty-hunit-0.10.0.3-LlaTgfK4xfi6iJgXE7bECc-ghc8.10.5.so
/usr/share/licenses/ghc-tasty-hunit
/usr/share/licenses/ghc-tasty-hunit/LICENSE

References

Summary

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