How to Install and Uninstall ghc-hspec Package on openSUSE Leap

Last updated: May 18,2024

1. Install "ghc-hspec" package

Please follow the guidance below to install ghc-hspec on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-hspec

2. Uninstall "ghc-hspec" package

This tutorial shows how to uninstall ghc-hspec on openSUSE Leap:

$ sudo zypper remove ghc-hspec

3. Information about the ghc-hspec package on openSUSE Leap

Information for package ghc-hspec:
----------------------------------
Repository : Main Repository
Name : ghc-hspec
Version : 2.9.4-bp155.2.14
Arch : x86_64
Vendor : openSUSE
Installed Size : 49.9 KiB
Installed : No
Status : not installed
Source package : ghc-hspec-2.9.4-bp155.2.14.src
Upstream URL : https://hackage.haskell.org/package/hspec
Summary : A Testing Framework for Haskell
Description :
Hspec is a testing framework for Haskell. Some of Hspec's distinctive features
are:
* a friendly DSL for defining tests
* integration with QuickCheck, SmallCheck, and HUnit
* parallel test execution
* automatic discovery of test files
The Hspec Manual is at .

5. The same packages on other Linux Distributions