How To Install python2-mistune on Rocky Linux 8

In this tutorial we learn how to install python2-mistune on Rocky Linux 8. python2-mistune is Markdown parser for Python

Introduction

In this tutorial we learn how to install python2-mistune on Rocky Linux 8.

What is python2-mistune

The fastest markdown parser in pure Python, inspired by marked.

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

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

sudo dnf -y install python2-mistune

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

sudo yum -y install python2-mistune

How To Uninstall python2-mistune on Rocky Linux 8

To uninstall only the python2-mistune package we can use the following command:

sudo dnf remove python2-mistune

python2-mistune Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/24fd3cd3774e5d2f8dc3065c4581fe7c92ddf3
/usr/lib64/python2.7/site-packages/mistune-0.8.3-py2.7.egg-info
/usr/lib64/python2.7/site-packages/mistune-0.8.3-py2.7.egg-info/PKG-INFO
/usr/lib64/python2.7/site-packages/mistune-0.8.3-py2.7.egg-info/SOURCES.txt
/usr/lib64/python2.7/site-packages/mistune-0.8.3-py2.7.egg-info/dependency_links.txt
/usr/lib64/python2.7/site-packages/mistune-0.8.3-py2.7.egg-info/not-zip-safe
/usr/lib64/python2.7/site-packages/mistune-0.8.3-py2.7.egg-info/top_level.txt
/usr/lib64/python2.7/site-packages/mistune.py
/usr/lib64/python2.7/site-packages/mistune.pyc
/usr/lib64/python2.7/site-packages/mistune.pyo
/usr/lib64/python2.7/site-packages/mistune.so
/usr/share/doc/python2-mistune
/usr/share/doc/python2-mistune/LICENSE
/usr/share/doc/python2-mistune/README.rst

References

Summary

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