How To Install ghc-cmark on Fedora 36

In this tutorial we learn how to install ghc-cmark in Fedora 36. ghc-cmark is Fast, accurate CommonMark (Markdown) parser and renderer

Introduction

In this tutorial we learn how to install ghc-cmark on Fedora 36.

What is ghc-cmark

This package provides Haskell bindings for , the reference parser for <http specified variant of Markdown. It includes sources for libcmark (0.29.0) and does not require prior installation of the C library.

We can use yum or dnf to install ghc-cmark on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-cmark.

Install ghc-cmark on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ghc-cmark using dnf by running the following command:

sudo dnf -y install ghc-cmark

Install ghc-cmark on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ghc-cmark using yum by running the following command:

sudo yum -y install ghc-cmark

How To Uninstall ghc-cmark on Fedora 36

To uninstall only the ghc-cmark package we can use the following command:

sudo dnf remove ghc-cmark

ghc-cmark Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/a0f64db0e6bb96d0e8daf10a420851aa9ea38c
/usr/lib64/libHScmark-0.6-IEZS4OeH3OwIpdGMvN5u2O-ghc8.10.5.so
/usr/share/licenses/ghc-cmark
/usr/share/licenses/ghc-cmark/LICENSE

References

Summary

In this tutorial we learn how to install ghc-cmark on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).