How To Install ghc-commonmark on Fedora 36

In this tutorial we learn how to install ghc-commonmark in Fedora 36. ghc-commonmark is Haskell commonmark library

Introduction

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

What is ghc-commonmark

This package provides the Haskell commonmark library.

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

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

sudo dnf -y install ghc-commonmark

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

sudo yum -y install ghc-commonmark

How To Uninstall ghc-commonmark on Fedora 36

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

sudo dnf remove ghc-commonmark

ghc-commonmark Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/72806fc7cb1437bdf16808e81cc5b52a50c29b
/usr/lib64/libHScommonmark-0.2.1-4Z5nKK7FtNx8ZmXZaeeZYK-ghc8.10.5.so
/usr/share/licenses/ghc-commonmark
/usr/share/licenses/ghc-commonmark/LICENSE

References

Summary

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