How To Install python-CommonMark-doc on AlmaLinux 8

In this tutorial we learn how to install python-CommonMark-doc in AlmaLinux 8. python-CommonMark-doc is Documentation for python-CommonMark

Introduction

In this tutorial we learn how to install python-CommonMark-doc on AlmaLinux 8.

What is python-CommonMark-doc

Pure Python port of jgm’s stmd.js, a Markdown parser and renderer for the CommonMark specification, using only native modules. Once both this project and the CommonMark specification are stable we will release the first 1.0 version and attempt to keep up to date with changes in stmd.js. We are currently at the same development stage (actually a bit ahead because we have implemented HTML entity conversion and href URL escaping) as stmd.js. Since Python versions pre-3.4 use outdated (i.e. not HTML5 spec) entity conversion, I’ve converted the 3.4 implementation into a single file, entitytrans.py which so far seems to work (all tests pass on 2.7, 3.3, and 3.4). Documentation package.

We can use yum or dnf to install python-CommonMark-doc on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python-CommonMark-doc.

Install python-CommonMark-doc on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python-CommonMark-doc using dnf by running the following command:

sudo dnf -y install python-CommonMark-doc

Install python-CommonMark-doc on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python-CommonMark-doc using yum by running the following command:

sudo yum -y install python-CommonMark-doc

How To Uninstall python-CommonMark-doc on AlmaLinux 8

To uninstall only the python-CommonMark-doc package we can use the following command:

sudo dnf remove python-CommonMark-doc

References

Summary

In this tutorial we learn how to install python-CommonMark-doc on AlmaLinux 8 using yum and dnf.