How To Install ghc-hspec-discover on Fedora 36
Introduction
In this tutorial we learn how to install ghc-hspec-discover
on Fedora 36.
What is ghc-hspec-discover
Automatically discover and run Hspec tests <http
We can use yum
or dnf
to install ghc-hspec-discover
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-hspec-discover.
Install ghc-hspec-discover 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
using dnf
by running the following command:
sudo dnf -y install ghc-hspec-discover
Install ghc-hspec-discover 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
using yum
by running the following command:
sudo yum -y install ghc-hspec-discover
How To Uninstall ghc-hspec-discover on Fedora 36
To uninstall only the ghc-hspec-discover
package we can use the following command:
sudo dnf remove ghc-hspec-discover
ghc-hspec-discover Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/07858fff2317c43da06c9f99282cbce1527c53
/usr/lib64/libHShspec-discover-2.7.10-GBiGFBCk9XI7uwCErReeU3-ghc8.10.5.so
/usr/share/licenses/ghc-hspec-discover
/usr/share/licenses/ghc-hspec-discover/LICENSE
References
Summary
In this tutorial we learn how to install ghc-hspec-discover
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).