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

Last updated: December 24,2024

1. Install "ghc-fail" package

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

$ sudo zypper refresh $ sudo zypper install ghc-fail

2. Uninstall "ghc-fail" package

Please follow the guidance below to uninstall ghc-fail on openSUSE Leap:

$ sudo zypper remove ghc-fail

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

Information for package ghc-fail:
---------------------------------
Repository : Main Repository
Name : ghc-fail
Version : 4.9.0.0-bp155.3.11
Arch : x86_64
Vendor : openSUSE
Installed Size : 1.5 KiB
Installed : No
Status : not installed
Source package : ghc-fail-4.9.0.0-bp155.3.11.src
Upstream URL : https://hackage.haskell.org/package/fail
Summary : Forward-compatible MonadFail class
Description :
This package contains the "Control.Monad.Fail" module providing the
class
that became available in base-4.9.0.0> for older 'base' package versions.
This package turns into an empty package when used with GHC versions which
already provide the "Control.Monad.Fail" module to make way for GHC's own
"Control.Monad.Fail" module.

5. The same packages on other Linux Distributions