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

Last updated: November 07,2024

1. Install "ghc-th-compat" package

This tutorial shows how to install ghc-th-compat on openSUSE Leap

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

2. Uninstall "ghc-th-compat" package

Please follow the instructions below to uninstall ghc-th-compat on openSUSE Leap:

$ sudo zypper remove ghc-th-compat

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

Information for package ghc-th-compat:
--------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : ghc-th-compat
Version : 0.1.4-150500.3.3.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 85.0 KiB
Installed : No
Status : not installed
Source package : ghc-th-compat-0.1.4-150500.3.3.1.src
Upstream URL : https://hackage.haskell.org/package/th-compat
Summary : Backward- (and forward-)compatible Quote and Code types
Description :
This package defines a "Language.Haskell.TH.Syntax.Compat" module, which
backports the 'Quote' and 'Code' types to work across a wide range of
'template-haskell' versions. The 'makeRelativeToProject' utility is also
backported. On recent versions of 'template-haskell' (2.17.0.0 or later), this
module simply reexports definitions from "Language.Haskell.TH.Syntax".
Refer to the Haddocks for "Language.Haskell.TH.Syntax.Compat" for examples of
how to use this module.

5. The same packages on other Linux Distributions