How To Install ghc-hspec-discover-devel on Fedora 36

In this tutorial we learn how to install ghc-hspec-discover-devel in Fedora 36. ghc-hspec-discover-devel is Haskell hspec-discover library development files

Introduction

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

What is ghc-hspec-discover-devel

This package provides the Haskell hspec-discover library development files.

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

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

sudo dnf -y install ghc-hspec-discover-devel

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

sudo yum -y install ghc-hspec-discover-devel

How To Uninstall ghc-hspec-discover-devel on Fedora 36

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

sudo dnf remove ghc-hspec-discover-devel

ghc-hspec-discover-devel Package Contents on Fedora 36

/usr/bin/hspec-discover
/usr/lib/.build-id
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/79ff4a771136ba32da1ab665fce4739d1c95aa
/usr/lib64/ghc-8.10.5/hspec-discover-2.7.10
/usr/lib64/ghc-8.10.5/hspec-discover-2.7.10/Paths_hspec_discover.dyn_hi
/usr/lib64/ghc-8.10.5/hspec-discover-2.7.10/Paths_hspec_discover.hi
/usr/lib64/ghc-8.10.5/hspec-discover-2.7.10/Test
/usr/lib64/ghc-8.10.5/hspec-discover-2.7.10/Test/Hspec
/usr/lib64/ghc-8.10.5/hspec-discover-2.7.10/Test/Hspec/Discover
/usr/lib64/ghc-8.10.5/hspec-discover-2.7.10/Test/Hspec/Discover/Config.dyn_hi
/usr/lib64/ghc-8.10.5/hspec-discover-2.7.10/Test/Hspec/Discover/Config.hi
/usr/lib64/ghc-8.10.5/hspec-discover-2.7.10/Test/Hspec/Discover/Run.dyn_hi
/usr/lib64/ghc-8.10.5/hspec-discover-2.7.10/Test/Hspec/Discover/Run.hi
/usr/lib64/ghc-8.10.5/hspec-discover-2.7.10/Test/Hspec/Discover/Sort.dyn_hi
/usr/lib64/ghc-8.10.5/hspec-discover-2.7.10/Test/Hspec/Discover/Sort.hi
/usr/lib64/ghc-8.10.5/hspec-discover-2.7.10/libHShspec-discover-2.7.10-GBiGFBCk9XI7uwCErReeU3.a
/usr/lib64/ghc-8.10.5/package.conf.d/hspec-discover-2.7.10.conf

References

Summary

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