How To Install python3-markdown on Rocky Linux 8

In this tutorial we learn how to install python3-markdown on Rocky Linux 8. python3-markdown is Markdown implementation in Python

Introduction

In this tutorial we learn how to install python3-markdown on Rocky Linux 8.

What is python3-markdown

This is a Python implementation of John Gruber’s Markdown. It is almost completely compliant with the reference implementation, though there are a few known issues.

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

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

sudo dnf -y install python3-markdown

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

sudo yum -y install python3-markdown

How To Uninstall python3-markdown on Rocky Linux 8

To uninstall only the python3-markdown package we can use the following command:

sudo dnf remove python3-markdown

python3-markdown Package Contents on Rocky Linux 8

/usr/bin/markdown_py
/usr/bin/markdown_py-3
/usr/bin/markdown_py-3.6
/usr/lib/python3.6/site-packages/Markdown-2.6.11-py3.6.egg-info
/usr/lib/python3.6/site-packages/Markdown-2.6.11-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/Markdown-2.6.11-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/Markdown-2.6.11-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/Markdown-2.6.11-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/Markdown-2.6.11-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/markdown
/usr/lib/python3.6/site-packages/markdown/__init__.py
/usr/lib/python3.6/site-packages/markdown/__main__.py
/usr/lib/python3.6/site-packages/markdown/__pycache__
/usr/lib/python3.6/site-packages/markdown/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/__version__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/__version__.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/blockparser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/blockparser.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/blockprocessors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/blockprocessors.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/inlinepatterns.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/inlinepatterns.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/odict.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/odict.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/postprocessors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/postprocessors.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/preprocessors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/preprocessors.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/serializers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/serializers.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/treeprocessors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/treeprocessors.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/__version__.py
/usr/lib/python3.6/site-packages/markdown/blockparser.py
/usr/lib/python3.6/site-packages/markdown/blockprocessors.py
/usr/lib/python3.6/site-packages/markdown/extensions
/usr/lib/python3.6/site-packages/markdown/extensions/__init__.py
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/abbr.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/abbr.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/admonition.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/admonition.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/attr_list.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/attr_list.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/codehilite.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/codehilite.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/def_list.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/def_list.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/extra.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/extra.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/fenced_code.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/fenced_code.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/footnotes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/footnotes.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/headerid.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/headerid.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/meta.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/meta.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/nl2br.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/nl2br.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/sane_lists.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/sane_lists.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/smart_strong.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/smart_strong.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/smarty.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/smarty.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/tables.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/tables.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/toc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/toc.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/wikilinks.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/__pycache__/wikilinks.cpython-36.pyc
/usr/lib/python3.6/site-packages/markdown/extensions/abbr.py
/usr/lib/python3.6/site-packages/markdown/extensions/admonition.py
/usr/lib/python3.6/site-packages/markdown/extensions/attr_list.py
/usr/lib/python3.6/site-packages/markdown/extensions/codehilite.py
/usr/lib/python3.6/site-packages/markdown/extensions/def_list.py
/usr/lib/python3.6/site-packages/markdown/extensions/extra.py
/usr/lib/python3.6/site-packages/markdown/extensions/fenced_code.py
/usr/lib/python3.6/site-packages/markdown/extensions/footnotes.py
/usr/lib/python3.6/site-packages/markdown/extensions/headerid.py
/usr/lib/python3.6/site-packages/markdown/extensions/meta.py
/usr/lib/python3.6/site-packages/markdown/extensions/nl2br.py
/usr/lib/python3.6/site-packages/markdown/extensions/sane_lists.py
/usr/lib/python3.6/site-packages/markdown/extensions/smart_strong.py
/usr/lib/python3.6/site-packages/markdown/extensions/smarty.py
/usr/lib/python3.6/site-packages/markdown/extensions/tables.py
/usr/lib/python3.6/site-packages/markdown/extensions/toc.py
/usr/lib/python3.6/site-packages/markdown/extensions/wikilinks.py
/usr/lib/python3.6/site-packages/markdown/inlinepatterns.py
/usr/lib/python3.6/site-packages/markdown/odict.py
/usr/lib/python3.6/site-packages/markdown/postprocessors.py
/usr/lib/python3.6/site-packages/markdown/preprocessors.py
/usr/lib/python3.6/site-packages/markdown/serializers.py
/usr/lib/python3.6/site-packages/markdown/treeprocessors.py
/usr/lib/python3.6/site-packages/markdown/util.py
/usr/share/licenses/python3-markdown
/usr/share/licenses/python3-markdown/LICENSE.html
/usr/share/licenses/python3-markdown/LICENSE.md

References

Summary

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