How To Install ghc-hspec-core-prof on Fedora 36

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

Introduction

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

What is ghc-hspec-core-prof

This package provides the Haskell hspec-core profiling library.

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

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

sudo dnf -y install ghc-hspec-core-prof

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

sudo yum -y install ghc-hspec-core-prof

How To Uninstall ghc-hspec-core-prof on Fedora 36

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

sudo dnf remove ghc-hspec-core-prof

ghc-hspec-core-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Control/Concurrent/Async.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Data/Algorithm/Diff.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Paths_hspec_core.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Clock.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Compat.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Config.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Config/Options.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Config/Util.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Example.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Example/Location.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/FailureReport.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Format.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Formatters.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Formatters/Diff.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Formatters/Free.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Formatters/Internal.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Formatters/Monad.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Hooks.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/QuickCheck.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/QuickCheckUtil.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Runner.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Runner/Eval.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Shuffle.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Spec.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Spec/Monad.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Timer.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Tree.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/Test/Hspec/Core/Util.p_hi
/usr/lib64/ghc-8.10.5/hspec-core-2.7.10/libHShspec-core-2.7.10-1TN3LYDO56eH3ubtrJmcYk_p.a

References

Summary

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