How To Install ghc-cmark-doc on Fedora 36

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

Introduction

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

What is ghc-cmark-doc

This package provides the Haskell cmark library documentation.

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

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

sudo dnf -y install ghc-cmark-doc

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

sudo yum -y install ghc-cmark-doc

How To Uninstall ghc-cmark-doc on Fedora 36

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

sudo dnf remove ghc-cmark-doc

ghc-cmark-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/cmark-0.6
/usr/share/doc/ghc/html/libraries/cmark-0.6/CMark.html
/usr/share/doc/ghc/html/libraries/cmark-0.6/cmark.haddock
/usr/share/doc/ghc/html/libraries/cmark-0.6/cmark.txt
/usr/share/doc/ghc/html/libraries/cmark-0.6/doc-index.html
/usr/share/doc/ghc/html/libraries/cmark-0.6/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/cmark-0.6/index.html
/usr/share/doc/ghc/html/libraries/cmark-0.6/linuwial.css
/usr/share/doc/ghc/html/libraries/cmark-0.6/meta.json
/usr/share/doc/ghc/html/libraries/cmark-0.6/quick-jump.css
/usr/share/doc/ghc/html/libraries/cmark-0.6/src
/usr/share/doc/ghc/html/libraries/cmark-0.6/src/CMark.html
/usr/share/doc/ghc/html/libraries/cmark-0.6/src/highlight.js
/usr/share/doc/ghc/html/libraries/cmark-0.6/src/style.css
/usr/share/doc/ghc/html/libraries/cmark-0.6/synopsis.png
/usr/share/licenses/ghc-cmark-doc
/usr/share/licenses/ghc-cmark-doc/LICENSE

References

Summary

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