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

Last updated: July 03,2024

1. Install "ghc-optics-th" package

This is a short guide on how to install ghc-optics-th on openSUSE Leap

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

2. Uninstall "ghc-optics-th" package

Please follow the guidance below to uninstall ghc-optics-th on openSUSE Leap:

$ sudo zypper remove ghc-optics-th

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

Information for package ghc-optics-th:
--------------------------------------
Repository : Main Repository
Name : ghc-optics-th
Version : 0.4-bp155.3.13
Arch : x86_64
Vendor : openSUSE
Installed Size : 614.5 KiB
Installed : No
Status : not installed
Source package : ghc-optics-th-0.4-bp155.3.13.src
Upstream URL : https://hackage.haskell.org/package/optics-th
Summary : Optics construction using TemplateHaskell
Description :
This package is part of the ' optics>' package family. It provides machinery to construct optics using
'TemplateHaskell'.
See the 'template-haskell-optics' package for optics to work with
'template-haskell' types.

5. The same packages on other Linux Distributions