How To Install python3-yattag on Rocky Linux 8

In this tutorial we learn how to install python3-yattag on Rocky Linux 8. python3-yattag is Generate HTML or XML in a pythonic way

Introduction

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

What is python3-yattag

Generate HTML or XML in a pythonic way.

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

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

sudo dnf -y install python3-yattag

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

sudo yum -y install python3-yattag

How To Uninstall python3-yattag on Rocky Linux 8

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

sudo dnf remove python3-yattag

python3-yattag Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/yattag
/usr/lib/python3.6/site-packages/yattag-1.14.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/yattag/__init__.py
/usr/lib/python3.6/site-packages/yattag/__pycache__
/usr/lib/python3.6/site-packages/yattag/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/yattag/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/yattag/__pycache__/doc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/yattag/__pycache__/doc.cpython-36.pyc
/usr/lib/python3.6/site-packages/yattag/__pycache__/indentation.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/yattag/__pycache__/indentation.cpython-36.pyc
/usr/lib/python3.6/site-packages/yattag/__pycache__/simpledoc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/yattag/__pycache__/simpledoc.cpython-36.pyc
/usr/lib/python3.6/site-packages/yattag/doc.py
/usr/lib/python3.6/site-packages/yattag/indentation.py
/usr/lib/python3.6/site-packages/yattag/py.typed
/usr/lib/python3.6/site-packages/yattag/simpledoc.py
/usr/share/doc/python3-yattag
/usr/share/doc/python3-yattag/README.rst
/usr/share/licenses/python3-yattag
/usr/share/licenses/python3-yattag/COPYING

References

Summary

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