How To Install ghc-cmark-gfm on Fedora 36

In this tutorial we learn how to install ghc-cmark-gfm in Fedora 36. ghc-cmark-gfm is Fast, accurate GitHub Flavored Markdown parser and renderer

Introduction

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

What is ghc-cmark-gfm

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

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

Install ghc-cmark-gfm 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-gfm using dnf by running the following command:

sudo dnf -y install ghc-cmark-gfm

Install ghc-cmark-gfm 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-gfm using yum by running the following command:

sudo yum -y install ghc-cmark-gfm

How To Uninstall ghc-cmark-gfm on Fedora 36

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

sudo dnf remove ghc-cmark-gfm

ghc-cmark-gfm Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/60
/usr/lib/.build-id/60/f6babe794640bc61bc8f750ba11773f5ca5897
/usr/lib64/libHScmark-gfm-0.2.3-Ba4PgWVTEbIKfRhKhns0Dz-ghc8.10.5.so
/usr/share/licenses/ghc-cmark-gfm
/usr/share/licenses/ghc-cmark-gfm/LICENSE

References

Summary

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