How to Install and Uninstall ghc-base-compat Package on openSUSE Leap

Last updated: May 17,2024

1. Install "ghc-base-compat" package

In this section, we are going to explain the necessary steps to install ghc-base-compat on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-base-compat

2. Uninstall "ghc-base-compat" package

This is a short guide on how to uninstall ghc-base-compat on openSUSE Leap:

$ sudo zypper remove ghc-base-compat

3. Information about the ghc-base-compat package on openSUSE Leap

Information for package ghc-base-compat:
----------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : ghc-base-compat
Version : 0.13.1-150500.3.3.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 177.1 KiB
Installed : No
Status : not installed
Source package : ghc-base-compat-0.13.1-150500.3.3.1.src
Upstream URL : https://hackage.haskell.org/package/base-compat
Summary : A compatibility layer for base
Description :
Provides functions available in later versions of 'base' to a wider range of
compilers, without requiring you to use CPP pragmas in your code. See the
README> for what is covered. Also see the
changelog> for recent changes.
Note that 'base-compat' does not add any orphan instances. There is a separate
package, '', for
that.
In addition, 'base-compat' does not backport any data types or type classes.
See
' this section of the README>' for more info.
'base-compat' is designed to have zero dependencies. For a version of
'base-compat' that depends on compatibility libraries for a wider support
window, see the ' base-compat-batteries>' package. Most of the modules in this library have the
same names as in 'base-compat-batteries' to make it easier to switch between
the two. There also exist versions of each module with the suffix '.Repl',
which are distinct from anything in 'base-compat-batteries', to allow for
easier use in GHCi.

5. The same packages on other Linux Distributions