How To Install python3-pure-eval on Fedora 36

In this tutorial we learn how to install python3-pure-eval in Fedora 36. python3-pure-eval is Safely evaluate AST nodes without side effects

Introduction

In this tutorial we learn how to install python3-pure-eval on Fedora 36.

What is python3-pure-eval

Python package that lets you safely evaluate certain AST nodes without triggering arbitrary code that may have unwanted side effects.

We can use yum or dnf to install python3-pure-eval on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pure-eval.

Install python3-pure-eval on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-pure-eval using dnf by running the following command:

sudo dnf -y install python3-pure-eval

Install python3-pure-eval on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-pure-eval using yum by running the following command:

sudo yum -y install python3-pure-eval

How To Uninstall python3-pure-eval on Fedora 36

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

sudo dnf remove python3-pure-eval

python3-pure-eval Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/pure_eval
/usr/lib/python3.10/site-packages/pure_eval-0.2.2.dist-info
/usr/lib/python3.10/site-packages/pure_eval-0.2.2.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/pure_eval-0.2.2.dist-info/LICENSE.txt
/usr/lib/python3.10/site-packages/pure_eval-0.2.2.dist-info/METADATA
/usr/lib/python3.10/site-packages/pure_eval-0.2.2.dist-info/WHEEL
/usr/lib/python3.10/site-packages/pure_eval-0.2.2.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/pure_eval/__init__.py
/usr/lib/python3.10/site-packages/pure_eval/__pycache__
/usr/lib/python3.10/site-packages/pure_eval/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pure_eval/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pure_eval/__pycache__/core.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pure_eval/__pycache__/core.cpython-310.pyc
/usr/lib/python3.10/site-packages/pure_eval/__pycache__/my_getattr_static.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pure_eval/__pycache__/my_getattr_static.cpython-310.pyc
/usr/lib/python3.10/site-packages/pure_eval/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pure_eval/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/pure_eval/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pure_eval/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/pure_eval/core.py
/usr/lib/python3.10/site-packages/pure_eval/my_getattr_static.py
/usr/lib/python3.10/site-packages/pure_eval/py.typed
/usr/lib/python3.10/site-packages/pure_eval/utils.py
/usr/lib/python3.10/site-packages/pure_eval/version.py
/usr/share/doc/python3-pure-eval
/usr/share/doc/python3-pure-eval/README.md

References

Summary

In this tutorial we learn how to install python3-pure-eval on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).