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

Last updated: March 04,2025

1. Install "ghc-commonmark" package

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

$ sudo zypper refresh $ sudo zypper install ghc-commonmark

2. Uninstall "ghc-commonmark" package

Here is a brief guide to show you how to uninstall ghc-commonmark on openSUSE Leap:

$ sudo zypper remove ghc-commonmark

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

Information for package ghc-commonmark:
---------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : ghc-commonmark
Version : 0.2.4.1-150500.3.3.2
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 7.8 MiB
Installed : No
Status : not installed
Source package : ghc-commonmark-0.2.4.1-150500.3.3.2.src
Upstream URL : https://hackage.haskell.org/package/commonmark
Summary : Pure Haskell commonmark parser
Description :
This library provides the core data types and functions for parsing commonmark
(). The parser is fully commonmark-compliant and
passes the test suite. It is designed to be customizable and easily extensible.
To customize the output, create an AST, or support a new output format, one
need only define some new typeclass instances. It is also easy to add new
syntax elements or modify existing ones.
Accurate information about source positions is available for all block and
inline elements. Thus the library can be used to create an accurate syntax
highlighter or an editor with live preview.
The parser has been designed for robust performance even in pathological cases
that tend to cause stack overflows or exponential slowdowns in other parsers,
with parsing speed that varies linearly with input length.
Related packages:
- commonmark-extensions (which defines a number of syntax extensions) -
commonmark-pandoc (which allows using this parser to create a Pandoc structure)
- commonmark-cli (a command-line tool for converting and syntax-highlighting
commonmark documents).

5. The same packages on other Linux Distributions