How To Install cmark-lib on Fedora 36

In this tutorial we learn how to install cmark-lib in Fedora 36. cmark-lib is CommonMark parsing and rendering library

Introduction

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

What is cmark-lib

This package provides the cmark library.

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

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

sudo dnf -y install cmark-lib

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

sudo yum -y install cmark-lib

How To Uninstall cmark-lib on Fedora 36

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

sudo dnf remove cmark-lib

cmark-lib Package Contents on Fedora 36

---
title: "How To Install cmark-lib on Fedora 36"
linkTitle: "cmark-lib"
type: "docs"
description: "In this tutorial we learn how to install cmark-lib in Fedora 36. cmark-lib is CommonMark parsing and rendering library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/cmark-lib-featured.png
---

## Introduction

In this tutorial we learn how to install `cmark-lib` on Fedora 36.

### What is `cmark-lib`

> This package provides the cmark library.  

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

## Install cmark-lib on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install cmark-lib using dnf by running the following command:

sudo dnf -y install cmark-lib

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

sudo yum -y install cmark-lib

How To Uninstall cmark-lib on Fedora 36

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

sudo dnf remove cmark-lib

cmark-lib Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/4e107e5e55ab2a89ec7bf3163da36548474262
/usr/lib/libcmark.so.0.29.0
/usr/share/licenses/cmark-lib
/usr/share/licenses/cmark-lib/COPYING

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/42 /usr/lib/.build-id/42/ea56dbf0d4b2feafcb3200e4e05be87da4cf63 /usr/lib64/libcmark.so.0.29.0 /usr/share/licenses/cmark-lib /usr/share/licenses/cmark-lib/COPYING


## References

* [cmark-lib website](https://github.com/jgm/cmark)

## Summary

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