How To Install python38-markupsafe on Rocky Linux 8

In this tutorial we learn how to install python38-markupsafe on Rocky Linux 8. python38-markupsafe is Implements a XML/HTML/XHTML Markup safe string for Python 3

Introduction

In this tutorial we learn how to install python38-markupsafe on Rocky Linux 8.

What is python38-markupsafe

A library for safe markup escaping. Python 3 version.

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

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

sudo dnf -y install python38-markupsafe

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

sudo yum -y install python38-markupsafe

How To Uninstall python38-markupsafe on Rocky Linux 8

To uninstall only the python38-markupsafe package we can use the following command:

sudo dnf remove python38-markupsafe

python38-markupsafe Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/77
/usr/lib/.build-id/77/5259c24eea556fc6ce92f7130a347b5bf5b0d4
/usr/lib64/python3.8/site-packages/MarkupSafe-1.1.1-py3.8.egg-info
/usr/lib64/python3.8/site-packages/MarkupSafe-1.1.1-py3.8.egg-info/PKG-INFO
/usr/lib64/python3.8/site-packages/MarkupSafe-1.1.1-py3.8.egg-info/SOURCES.txt
/usr/lib64/python3.8/site-packages/MarkupSafe-1.1.1-py3.8.egg-info/dependency_links.txt
/usr/lib64/python3.8/site-packages/MarkupSafe-1.1.1-py3.8.egg-info/top_level.txt
/usr/lib64/python3.8/site-packages/markupsafe
/usr/lib64/python3.8/site-packages/markupsafe/__init__.py
/usr/lib64/python3.8/site-packages/markupsafe/__pycache__
/usr/lib64/python3.8/site-packages/markupsafe/__pycache__/__init__.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/markupsafe/__pycache__/__init__.cpython-38.pyc
/usr/lib64/python3.8/site-packages/markupsafe/__pycache__/_compat.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/markupsafe/__pycache__/_compat.cpython-38.pyc
/usr/lib64/python3.8/site-packages/markupsafe/__pycache__/_constants.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/markupsafe/__pycache__/_constants.cpython-38.pyc
/usr/lib64/python3.8/site-packages/markupsafe/__pycache__/_native.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/markupsafe/__pycache__/_native.cpython-38.pyc
/usr/lib64/python3.8/site-packages/markupsafe/_compat.py
/usr/lib64/python3.8/site-packages/markupsafe/_constants.py
/usr/lib64/python3.8/site-packages/markupsafe/_native.py
/usr/lib64/python3.8/site-packages/markupsafe/_speedups.cpython-38-x86_64-linux-gnu.so
/usr/share/doc/python38-markupsafe
/usr/share/doc/python38-markupsafe/CHANGES.rst
/usr/share/doc/python38-markupsafe/README.rst
/usr/share/licenses/python38-markupsafe
/usr/share/licenses/python38-markupsafe/LICENSE.rst

References

Summary

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