How To Install ghc-cmark-devel on Fedora 36

In this tutorial we learn how to install ghc-cmark-devel in Fedora 36. ghc-cmark-devel is Haskell cmark library development files

Introduction

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

What is ghc-cmark-devel

This package provides the Haskell cmark library development files.

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

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

sudo dnf -y install ghc-cmark-devel

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

sudo yum -y install ghc-cmark-devel

How To Uninstall ghc-cmark-devel on Fedora 36

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

sudo dnf remove ghc-cmark-devel

ghc-cmark-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/cmark-0.6
/usr/lib64/ghc-8.10.5/cmark-0.6/CMark.dyn_hi
/usr/lib64/ghc-8.10.5/cmark-0.6/CMark.hi
/usr/lib64/ghc-8.10.5/cmark-0.6/libHScmark-0.6-IEZS4OeH3OwIpdGMvN5u2O.a
/usr/lib64/ghc-8.10.5/package.conf.d/cmark-0.6.conf
/usr/share/doc/ghc-cmark-devel
/usr/share/doc/ghc-cmark-devel/README.md
/usr/share/doc/ghc-cmark-devel/changelog

References

Summary

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