How To Install ghc-hspec-devel on Fedora 36

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

Introduction

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

What is ghc-hspec-devel

This package provides the Haskell hspec library development files.

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

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

sudo dnf -y install ghc-hspec-devel

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

sudo yum -y install ghc-hspec-devel

How To Uninstall ghc-hspec-devel on Fedora 36

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

sudo dnf remove ghc-hspec-devel

ghc-hspec-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/hspec-2.7.10
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Paths_hspec.dyn_hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Paths_hspec.hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec.dyn_hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec.hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec/Discover.dyn_hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec/Discover.hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec/Formatters.dyn_hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec/Formatters.hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec/QuickCheck.dyn_hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec/QuickCheck.hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec/Runner.dyn_hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/Test/Hspec/Runner.hi
/usr/lib64/ghc-8.10.5/hspec-2.7.10/libHShspec-2.7.10-C8Iu8nC6KAwKIzqEgIlAnx.a
/usr/lib64/ghc-8.10.5/package.conf.d/hspec-2.7.10.conf
/usr/share/doc/ghc-hspec-devel
/usr/share/doc/ghc-hspec-devel/CHANGES.markdown

References

Summary

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