How To Install ghc-HUnit-prof on Fedora 36

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

Introduction

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

What is ghc-HUnit-prof

This package provides the Haskell HUnit profiling library.

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

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

sudo dnf -y install ghc-HUnit-prof

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

sudo yum -y install ghc-HUnit-prof

How To Uninstall ghc-HUnit-prof on Fedora 36

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

sudo dnf remove ghc-HUnit-prof

ghc-HUnit-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Paths_HUnit.p_hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit.p_hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit/Base.p_hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit/Lang.p_hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit/Terminal.p_hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit/Text.p_hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/libHSHUnit-1.6.2.0-CpPWGnQqP1WFzeCyyxs5eQ_p.a

References

Summary

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