How To Install libmarkdown on Rocky Linux 8

In this tutorial we learn how to install libmarkdown on Rocky Linux 8. libmarkdown is A fast implementation of the Markdown language in C

Introduction

In this tutorial we learn how to install libmarkdown on Rocky Linux 8.

What is libmarkdown

libmarkdown is the library portion of discount, a fast Markdown language implementation, written in C.

We can use yum or dnf to install libmarkdown on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libmarkdown.

Install libmarkdown on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libmarkdown

Install libmarkdown on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libmarkdown using yum by running the following command:

sudo yum -y install libmarkdown

How To Uninstall libmarkdown on Rocky Linux 8

To uninstall only the libmarkdown package we can use the following command:

sudo dnf remove libmarkdown

libmarkdown Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/70051443bd3ed1a84316f3dfc1c731f6f00c8c
/usr/lib64/libmarkdown.so.2
/usr/lib64/libmarkdown.so.2.2.4
/usr/share/doc/libmarkdown
/usr/share/doc/libmarkdown/COPYRIGHT
/usr/share/doc/libmarkdown/CREDITS
/usr/share/doc/libmarkdown/README

References

Summary

In this tutorial we learn how to install libmarkdown on Rocky Linux 8 using yum and dnf.