How To Install python3-pyPEG2 on Fedora 36

In this tutorial we learn how to install python3-pyPEG2 in Fedora 36. python3-pyPEG2 is A PEG Parser-Interpreter in Python

Introduction

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

What is python3-pyPEG2

pyPEG is a plain and simple intrinsic parser interpreter framework for Python version 3.x. It is based on Parsing Expression Grammar, PEG. With pyPEG you can parse many formal languages in a very easy way.

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

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

sudo dnf -y install python3-pyPEG2

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

sudo yum -y install python3-pyPEG2

How To Uninstall python3-pyPEG2 on Fedora 36

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

sudo dnf remove python3-pyPEG2

python3-pyPEG2 Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/pyPEG2-2.15.2-py3.10.egg-info
/usr/lib/python3.10/site-packages/pypeg2
/usr/lib/python3.10/site-packages/pypeg2/__init__.py
/usr/lib/python3.10/site-packages/pypeg2/__pycache__
/usr/lib/python3.10/site-packages/pypeg2/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pypeg2/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pypeg2/__pycache__/xmlast.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pypeg2/__pycache__/xmlast.cpython-310.pyc
/usr/lib/python3.10/site-packages/pypeg2/test
/usr/lib/python3.10/site-packages/pypeg2/test/__init__.py
/usr/lib/python3.10/site-packages/pypeg2/test/__pycache__
/usr/lib/python3.10/site-packages/pypeg2/test/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pypeg2/test/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pypeg2/test/__pycache__/test_pyPEG2.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pypeg2/test/__pycache__/test_pyPEG2.cpython-310.pyc
/usr/lib/python3.10/site-packages/pypeg2/test/__pycache__/test_xmlast.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pypeg2/test/__pycache__/test_xmlast.cpython-310.pyc
/usr/lib/python3.10/site-packages/pypeg2/test/test_pyPEG2.py
/usr/lib/python3.10/site-packages/pypeg2/test/test_xmlast.py
/usr/lib/python3.10/site-packages/pypeg2/xmlast.py
/usr/share/doc/python3-pyPEG2
/usr/share/doc/python3-pyPEG2/CHANGES.txt
/usr/share/doc/python3-pyPEG2/PKG-INFO
/usr/share/doc/python3-pyPEG2/README.txt
/usr/share/doc/python3-pyPEG2/docs
/usr/share/doc/python3-pyPEG2/docs/format.css
/usr/share/doc/python3-pyPEG2/docs/grammar_elements.html
/usr/share/doc/python3-pyPEG2/docs/index.html
/usr/share/doc/python3-pyPEG2/docs/parser_engine.html
/usr/share/doc/python3-pyPEG2/docs/xml_backend.html
/usr/share/licenses/python3-pyPEG2
/usr/share/licenses/python3-pyPEG2/LICENSE.txt

References

Summary

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