How To Install python3-empy on Rocky Linux 8

In this tutorial we learn how to install python3-empy on Rocky Linux 8. python3-empy is A powerful and robust template system for Python

Introduction

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

What is python3-empy

EmPy is a system for embedding Python expressions and statements in template text; it takes an EmPy source file, processes it, and produces output.

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

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

sudo dnf -y install python3-empy

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

sudo yum -y install python3-empy

How To Uninstall python3-empy on Rocky Linux 8

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

sudo dnf remove python3-empy

python3-empy Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/__pycache__/em.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/__pycache__/em.cpython-36.pyc
/usr/lib/python3.6/site-packages/em.py
/usr/lib/python3.6/site-packages/empy-3.3.4-py3.6.egg-info
/usr/share/doc/python3-empy
/usr/share/doc/python3-empy/README
/usr/share/doc/python3-empy/version.txt
/usr/share/licenses/python3-empy
/usr/share/licenses/python3-empy/COPYING

References

Summary

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