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

Last updated: June 29,2024

1. Install "ghc-extra" package

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

$ sudo zypper refresh $ sudo zypper install ghc-extra

2. Uninstall "ghc-extra" package

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

$ sudo zypper remove ghc-extra

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

Information for package ghc-extra:
----------------------------------
Repository : Main Repository
Name : ghc-extra
Version : 1.7.9-bp155.2.16
Arch : x86_64
Vendor : openSUSE
Installed Size : 377.2 KiB
Installed : No
Status : not installed
Source package : ghc-extra-1.7.9-bp155.2.16.src
Upstream URL : https://hackage.haskell.org/package/extra
Summary : Extra functions I use
Description :
A library of extra functions for the standard Haskell libraries. Most functions
are simple additions, filling out missing functionality. A few functions are
available in later versions of GHC, but this package makes them available back
to GHC 7.2.
The module "Extra" documents all functions provided by this library.
Modules such as "Data.List.Extra" provide extra functions over "Data.List" and
also reexport "Data.List". Users are recommended to replace "Data.List" imports
with "Data.List.Extra" if they need the extra functionality.

5. The same packages on other Linux Distributions