How To Install ghc-hspec-prof on Fedora 36

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

Introduction

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

What is ghc-hspec-prof

This package provides the Haskell hspec profiling library.

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

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

sudo dnf -y install ghc-hspec-prof

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

sudo yum -y install ghc-hspec-prof

How To Uninstall ghc-hspec-prof on Fedora 36

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

sudo dnf remove ghc-hspec-prof

ghc-hspec-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/hspec-2.7.10/Paths_hspec.p_hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec.p_hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec/Discover.p_hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec/Formatters.p_hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec/QuickCheck.p_hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec/Runner.p_hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/libHShspec-2.7.10-C8Iu8nC6KAwKIzqEgIlAnx_p.a

References

Summary

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