How To Install ghc-commonmark-extensions on Fedora 36

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

Introduction

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

What is ghc-commonmark-extensions

This package provides the Haskell commonmark-extensions library.

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

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

sudo dnf -y install ghc-commonmark-extensions

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

sudo yum -y install ghc-commonmark-extensions

How To Uninstall ghc-commonmark-extensions on Fedora 36

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

sudo dnf remove ghc-commonmark-extensions

ghc-commonmark-extensions Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/1105770782451e951dca312933265084b7bb93
/usr/lib64/libHScommonmark-extensions-0.2.1.2-JUU3uqQJQn85Nc8JbLweHj-ghc8.10.5.so
/usr/share/licenses/ghc-commonmark-extensions
/usr/share/licenses/ghc-commonmark-extensions/LICENSE

References

Summary

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