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

Last updated: November 23,2024

1. Install "ghc-Only" package

Here is a brief guide to show you how to install ghc-Only on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-Only

2. Uninstall "ghc-Only" package

Here is a brief guide to show you how to uninstall ghc-Only on openSUSE Leap:

$ sudo zypper remove ghc-Only

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

Information for package ghc-Only:
---------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : ghc-Only
Version : 0.1-150500.11.3.1
Arch : x86_64
Vendor : SUSE LLC
Support Level : Level 3
Installed Size : 49.3 KiB
Installed : No
Status : not installed
Source package : ghc-Only-0.1-150500.11.3.1.src
Upstream URL : https://hackage.haskell.org/package/Only
Summary : The 1-tuple type or single-value "collection"
Description :
This package provides a canonical anonymous 1-tuple type missing from Haskell
for attaching typeclass instances.
NOTE: There is also the which by using a
boxed 'data'-type provides a 1-tuple type which has laziness properties which
are more faithful to the ones of Haskell's native tuples; whereas the primary
purpose of 'Only' is to provide the traditionally so named type-wrapper for
attaching typeclass instances.