How To Install python3-grako on Fedora 36

In this tutorial we learn how to install python3-grako in Fedora 36. python3-grako is Python grammar compiler, EBNF input, PEG/Packrat parser output

Introduction

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

What is python3-grako

Grako (for “grammar compiler”) takes a grammar in a variation of EBNF as input, and outputs a memoizing PEG/Packrat parser in Python.

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

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

sudo dnf -y install python3-grako

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

sudo yum -y install python3-grako

How To Uninstall python3-grako on Fedora 36

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

sudo dnf remove python3-grako

python3-grako Package Contents on Fedora 36

/usr/bin/grako
/usr/lib/python3.10/site-packages/grako
/usr/lib/python3.10/site-packages/grako-3.99.9-py3.10.egg-info
/usr/lib/python3.10/site-packages/grako-3.99.9-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/grako-3.99.9-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/grako-3.99.9-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/grako-3.99.9-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/grako-3.99.9-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/grako-3.99.9-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/grako-3.99.9-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/grako/__init__.py
/usr/lib/python3.10/site-packages/grako/__main__.py
/usr/lib/python3.10/site-packages/grako/__pycache__
/usr/lib/python3.10/site-packages/grako/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/_config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/_config.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/_unicode_characters.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/_unicode_characters.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/_version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/_version.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/ast.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/ast.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/bootstrap.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/bootstrap.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/buffering.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/buffering.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/color.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/color.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/containers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/containers.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/contexts.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/contexts.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/diagrams.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/diagrams.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/grammars.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/grammars.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/infos.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/infos.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/model.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/model.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/objectmodel.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/objectmodel.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/parsing.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/parsing.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/rendering.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/rendering.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/semantics.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/semantics.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/symtables.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/symtables.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/synth.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/synth.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/tool.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/tool.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/walkers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/walkers.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/yaml.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/__pycache__/yaml.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/_config.py
/usr/lib/python3.10/site-packages/grako/_unicode_characters.py
/usr/lib/python3.10/site-packages/grako/_version.py
/usr/lib/python3.10/site-packages/grako/ast.py
/usr/lib/python3.10/site-packages/grako/bootstrap.py
/usr/lib/python3.10/site-packages/grako/buffering.py
/usr/lib/python3.10/site-packages/grako/codegen
/usr/lib/python3.10/site-packages/grako/codegen/__init__.py
/usr/lib/python3.10/site-packages/grako/codegen/__pycache__
/usr/lib/python3.10/site-packages/grako/codegen/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/codegen/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/codegen/__pycache__/cgbase.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/codegen/__pycache__/cgbase.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/codegen/__pycache__/objectmodel.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/codegen/__pycache__/objectmodel.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/codegen/__pycache__/python.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/codegen/__pycache__/python.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/codegen/cgbase.py
/usr/lib/python3.10/site-packages/grako/codegen/objectmodel.py
/usr/lib/python3.10/site-packages/grako/codegen/python.py
/usr/lib/python3.10/site-packages/grako/color.py
/usr/lib/python3.10/site-packages/grako/containers.py
/usr/lib/python3.10/site-packages/grako/contexts.py
/usr/lib/python3.10/site-packages/grako/diagrams.py
/usr/lib/python3.10/site-packages/grako/exceptions.py
/usr/lib/python3.10/site-packages/grako/grammars.py
/usr/lib/python3.10/site-packages/grako/infos.py
/usr/lib/python3.10/site-packages/grako/model.py
/usr/lib/python3.10/site-packages/grako/objectmodel.py
/usr/lib/python3.10/site-packages/grako/parser.py
/usr/lib/python3.10/site-packages/grako/parsing.py
/usr/lib/python3.10/site-packages/grako/rendering.py
/usr/lib/python3.10/site-packages/grako/semantics.py
/usr/lib/python3.10/site-packages/grako/symtables.py
/usr/lib/python3.10/site-packages/grako/synth.py
/usr/lib/python3.10/site-packages/grako/test
/usr/lib/python3.10/site-packages/grako/test/__init__.py
/usr/lib/python3.10/site-packages/grako/test/__main__.py
/usr/lib/python3.10/site-packages/grako/test/__pycache__
/usr/lib/python3.10/site-packages/grako/test/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/ast_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/ast_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/buffering_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/buffering_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/codegen_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/codegen_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/diagram_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/diagram_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/model_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/model_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/parsing_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/parsing_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/pickle_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/__pycache__/pickle_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/ast_test.py
/usr/lib/python3.10/site-packages/grako/test/buffering_test.py
/usr/lib/python3.10/site-packages/grako/test/codegen_test.py
/usr/lib/python3.10/site-packages/grako/test/diagram_test.py
/usr/lib/python3.10/site-packages/grako/test/grammar
/usr/lib/python3.10/site-packages/grako/test/grammar/__init__.py
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/directive_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/directive_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/join_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/join_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/keyword_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/keyword_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/left_recursion_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/left_recursion_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/parameter_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/parameter_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/pattern_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/pattern_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/pretty_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/pretty_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/semantics_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/semantics_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/stateful_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/stateful_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/syntax_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/__pycache__/syntax_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/grammar/directive_test.py
/usr/lib/python3.10/site-packages/grako/test/grammar/join_test.py
/usr/lib/python3.10/site-packages/grako/test/grammar/keyword_test.py
/usr/lib/python3.10/site-packages/grako/test/grammar/left_recursion_test.py
/usr/lib/python3.10/site-packages/grako/test/grammar/parameter_test.py
/usr/lib/python3.10/site-packages/grako/test/grammar/pattern_test.py
/usr/lib/python3.10/site-packages/grako/test/grammar/pretty_test.py
/usr/lib/python3.10/site-packages/grako/test/grammar/semantics_test.py
/usr/lib/python3.10/site-packages/grako/test/grammar/stateful_test.py
/usr/lib/python3.10/site-packages/grako/test/grammar/syntax_test.py
/usr/lib/python3.10/site-packages/grako/test/model_test.py
/usr/lib/python3.10/site-packages/grako/test/parsing_test.py
/usr/lib/python3.10/site-packages/grako/test/pickle_test.py
/usr/lib/python3.10/site-packages/grako/test/zzz_bootstrap
/usr/lib/python3.10/site-packages/grako/test/zzz_bootstrap/__init__.py
/usr/lib/python3.10/site-packages/grako/test/zzz_bootstrap/__pycache__
/usr/lib/python3.10/site-packages/grako/test/zzz_bootstrap/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/zzz_bootstrap/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/zzz_bootstrap/__pycache__/bootstrap_test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/grako/test/zzz_bootstrap/__pycache__/bootstrap_test.cpython-310.pyc
/usr/lib/python3.10/site-packages/grako/test/zzz_bootstrap/bootstrap_test.py
/usr/lib/python3.10/site-packages/grako/tool.py
/usr/lib/python3.10/site-packages/grako/util.py
/usr/lib/python3.10/site-packages/grako/walkers.py
/usr/lib/python3.10/site-packages/grako/yaml.py
/usr/share/doc/python3-grako
/usr/share/doc/python3-grako/README.md
/usr/share/doc/python3-grako/README.rst
/usr/share/doc/python3-grako/examples
/usr/share/doc/python3-grako/examples/antlr2grako
/usr/share/doc/python3-grako/examples/antlr2grako/Makefile
/usr/share/doc/python3-grako/examples/antlr2grako/README.rst
/usr/share/doc/python3-grako/examples/antlr2grako/antlr2grako.py
/usr/share/doc/python3-grako/examples/antlr2grako/grammar
/usr/share/doc/python3-grako/examples/antlr2grako/grammar/Python.g
/usr/share/doc/python3-grako/examples/antlr2grako/grammar/antlr.ebnf
/usr/share/doc/python3-grako/examples/antlr2grako/python.ebnf
/usr/share/doc/python3-grako/examples/antlr2grako/semantics.py
/usr/share/doc/python3-grako/examples/calc
/usr/share/doc/python3-grako/examples/calc/.DS_Store
/usr/share/doc/python3-grako/examples/calc/Makefile
/usr/share/doc/python3-grako/examples/calc/README.md
/usr/share/doc/python3-grako/examples/calc/input.txt
/usr/share/doc/python3-grako/examples/calc/v1
/usr/share/doc/python3-grako/examples/calc/v1/.ropeproject
/usr/share/doc/python3-grako/examples/calc/v1/.ropeproject/config.py
/usr/share/doc/python3-grako/examples/calc/v1/.ropeproject/globalnames
/usr/share/doc/python3-grako/examples/calc/v1/.ropeproject/history
/usr/share/doc/python3-grako/examples/calc/v1/.ropeproject/objectdb
/usr/share/doc/python3-grako/examples/calc/v1/Makefile
/usr/share/doc/python3-grako/examples/calc/v1/calc.ebnf
/usr/share/doc/python3-grako/examples/calc/v1/embedded_calc.py
/usr/share/doc/python3-grako/examples/calc/v2
/usr/share/doc/python3-grako/examples/calc/v2/Makefile
/usr/share/doc/python3-grako/examples/calc/v2/calc.ebnf
/usr/share/doc/python3-grako/examples/calc/v2/calc.py
/usr/share/doc/python3-grako/examples/calc/v3
/usr/share/doc/python3-grako/examples/calc/v3/Makefile
/usr/share/doc/python3-grako/examples/calc/v3/calc.ebnf
/usr/share/doc/python3-grako/examples/calc/v3/calc.py
/usr/share/doc/python3-grako/examples/calc/v4
/usr/share/doc/python3-grako/examples/calc/v4/Makefile
/usr/share/doc/python3-grako/examples/calc/v4/calc.ebnf
/usr/share/doc/python3-grako/examples/calc/v4/calc.py
/usr/share/doc/python3-grako/examples/calc/v5
/usr/share/doc/python3-grako/examples/calc/v5/Makefile
/usr/share/doc/python3-grako/examples/calc/v5/calc.ebnf
/usr/share/doc/python3-grako/examples/calc/v5/calc.py
/usr/share/doc/python3-grako/examples/calc/v6
/usr/share/doc/python3-grako/examples/calc/v6/Makefile
/usr/share/doc/python3-grako/examples/calc/v6/calc.ebnf
/usr/share/doc/python3-grako/examples/calc/v6/calc.py
/usr/share/doc/python3-grako/examples/calc/v6/calc_codegen.py
/usr/share/doc/python3-grako/examples/regex
/usr/share/doc/python3-grako/examples/regex/Makefile
/usr/share/doc/python3-grako/examples/regex/README.rst
/usr/share/doc/python3-grako/examples/regex/data
/usr/share/doc/python3-grako/examples/regex/data/notvalid
/usr/share/doc/python3-grako/examples/regex/data/valid
/usr/share/doc/python3-grako/examples/regex/model.py
/usr/share/doc/python3-grako/examples/regex/regex.ebnf
/usr/share/doc/python3-grako/examples/regex/regex_parser.py
/usr/share/doc/python3-grako/examples/regex/test.py
/usr/share/licenses/python3-grako
/usr/share/licenses/python3-grako/LICENSE.txt

References

Summary

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