How To Install python3-CommonMark on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-CommonMark
on Rocky Linux 8.
What is python3-CommonMark
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).
We can use yum
or dnf
to install python3-CommonMark
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-CommonMark.
Install python3-CommonMark 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 python3-CommonMark
using dnf
by running the following command:
sudo dnf -y install python3-CommonMark
Install python3-CommonMark 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 python3-CommonMark
using yum
by running the following command:
sudo yum -y install python3-CommonMark
How To Uninstall python3-CommonMark on Rocky Linux 8
To uninstall only the python3-CommonMark
package we can use the following command:
sudo dnf remove python3-CommonMark
python3-CommonMark Package Contents on Rocky Linux 8
/usr/bin/cmark
/usr/lib/python3.6/site-packages/commonmark
/usr/lib/python3.6/site-packages/commonmark-0.9.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/commonmark-0.9.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/commonmark-0.9.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/commonmark-0.9.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/commonmark-0.9.1-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/commonmark-0.9.1-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/commonmark-0.9.1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/commonmark/__init__.py
/usr/lib/python3.6/site-packages/commonmark/__pycache__
/usr/lib/python3.6/site-packages/commonmark/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/blocks.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/blocks.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/cmark.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/cmark.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/common.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/common.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/dump.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/dump.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/entitytrans.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/entitytrans.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/inlines.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/inlines.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/main.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/main.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/node.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/node.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/normalize_reference.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/__pycache__/normalize_reference.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/blocks.py
/usr/lib/python3.6/site-packages/commonmark/cmark.py
/usr/lib/python3.6/site-packages/commonmark/common.py
/usr/lib/python3.6/site-packages/commonmark/dump.py
/usr/lib/python3.6/site-packages/commonmark/entitytrans.py
/usr/lib/python3.6/site-packages/commonmark/inlines.py
/usr/lib/python3.6/site-packages/commonmark/main.py
/usr/lib/python3.6/site-packages/commonmark/node.py
/usr/lib/python3.6/site-packages/commonmark/normalize_reference.py
/usr/lib/python3.6/site-packages/commonmark/render
/usr/lib/python3.6/site-packages/commonmark/render/__init__.py
/usr/lib/python3.6/site-packages/commonmark/render/__pycache__
/usr/lib/python3.6/site-packages/commonmark/render/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/render/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/render/__pycache__/html.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/render/__pycache__/html.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/render/__pycache__/renderer.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/render/__pycache__/renderer.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/render/__pycache__/rst.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/render/__pycache__/rst.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/render/html.py
/usr/lib/python3.6/site-packages/commonmark/render/renderer.py
/usr/lib/python3.6/site-packages/commonmark/render/rst.py
/usr/lib/python3.6/site-packages/commonmark/tests
/usr/lib/python3.6/site-packages/commonmark/tests/__init__.py
/usr/lib/python3.6/site-packages/commonmark/tests/__pycache__
/usr/lib/python3.6/site-packages/commonmark/tests/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/tests/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/tests/__pycache__/rst_tests.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/tests/__pycache__/rst_tests.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/tests/__pycache__/run_spec_tests.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/tests/__pycache__/run_spec_tests.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/tests/__pycache__/unit_tests.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/commonmark/tests/__pycache__/unit_tests.cpython-36.pyc
/usr/lib/python3.6/site-packages/commonmark/tests/rst_tests.py
/usr/lib/python3.6/site-packages/commonmark/tests/run_spec_tests.py
/usr/lib/python3.6/site-packages/commonmark/tests/unit_tests.py
/usr/share/licenses/python3-CommonMark
/usr/share/licenses/python3-CommonMark/LICENSE
References
Summary
In this tutorial we learn how to install python3-CommonMark
on Rocky Linux 8 using yum and dnf.