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

Last updated: November 26,2024

1. Install "ghc-foundation" package

This tutorial shows how to install ghc-foundation on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-foundation

2. Uninstall "ghc-foundation" package

Please follow the guidelines below to uninstall ghc-foundation on openSUSE Leap:

$ sudo zypper remove ghc-foundation

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

Information for package ghc-foundation:
---------------------------------------
Repository : Main Repository
Name : ghc-foundation
Version : 0.0.28-bp155.1.6
Arch : x86_64
Vendor : openSUSE
Installed Size : 3.2 MiB
Installed : No
Status : not installed
Source package : ghc-foundation-0.0.28-bp155.1.6.src
Upstream URL : https://hackage.haskell.org/package/foundation
Summary : Alternative prelude with batteries and no dependencies
Description :
A custom prelude with no dependencies apart from base.
This package has the following goals:
* provide a base like sets of modules that provide a consistent set of features
and bugfixes across multiple versions of GHC (unlike base).
* provide a better and more efficient prelude than base's prelude.
* be self-sufficient: no external dependencies apart from base.
* provide better data-types: packed unicode string by default, arrays.
* Better numerical classes that better represent mathematical thing (No more
all-in-one Num).
* Better I/O system with less Lazy IO
* Usual partial functions distinguished through type system.

5. The same packages on other Linux Distributions