How To Install python3-mako on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-mako
on Rocky Linux 8.
What is python3-mako
Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. Mako’s syntax and API borrows from the best ideas of many others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics. This package contains the mako module built for use with python3.
We can use yum
or dnf
to install python3-mako
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-mako.
Install python3-mako 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-mako
using dnf
by running the following command:
sudo dnf -y install python3-mako
Install python3-mako 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-mako
using yum
by running the following command:
sudo yum -y install python3-mako
How To Uninstall python3-mako on Rocky Linux 8
To uninstall only the python3-mako
package we can use the following command:
sudo dnf remove python3-mako
python3-mako Package Contents on Rocky Linux 8
/usr/bin/mako-render
/usr/lib/python3.6/site-packages/Mako-1.0.6.dev0-py3.6.egg-info
/usr/lib/python3.6/site-packages/Mako-1.0.6.dev0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/Mako-1.0.6.dev0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/Mako-1.0.6.dev0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/Mako-1.0.6.dev0-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/Mako-1.0.6.dev0-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/Mako-1.0.6.dev0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/Mako-1.0.6.dev0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/mako
/usr/lib/python3.6/site-packages/mako/__init__.py
/usr/lib/python3.6/site-packages/mako/__pycache__
/usr/lib/python3.6/site-packages/mako/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/_ast_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/_ast_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/ast.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/ast.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/cache.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/cache.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/cmd.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/cmd.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/codegen.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/codegen.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/filters.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/filters.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/lexer.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/lexer.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/lookup.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/lookup.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/parsetree.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/parsetree.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/pygen.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/pygen.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/pyparser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/pyparser.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/runtime.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/runtime.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/template.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/template.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/_ast_util.py
/usr/lib/python3.6/site-packages/mako/ast.py
/usr/lib/python3.6/site-packages/mako/cache.py
/usr/lib/python3.6/site-packages/mako/cmd.py
/usr/lib/python3.6/site-packages/mako/codegen.py
/usr/lib/python3.6/site-packages/mako/compat.py
/usr/lib/python3.6/site-packages/mako/exceptions.py
/usr/lib/python3.6/site-packages/mako/ext
/usr/lib/python3.6/site-packages/mako/ext/__init__.py
/usr/lib/python3.6/site-packages/mako/ext/__pycache__
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/autohandler.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/autohandler.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/babelplugin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/babelplugin.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/beaker_cache.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/beaker_cache.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/extract.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/extract.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/linguaplugin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/linguaplugin.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/preprocessors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/preprocessors.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/pygmentplugin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/pygmentplugin.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/turbogears.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mako/ext/__pycache__/turbogears.cpython-36.pyc
/usr/lib/python3.6/site-packages/mako/ext/autohandler.py
/usr/lib/python3.6/site-packages/mako/ext/babelplugin.py
/usr/lib/python3.6/site-packages/mako/ext/beaker_cache.py
/usr/lib/python3.6/site-packages/mako/ext/extract.py
/usr/lib/python3.6/site-packages/mako/ext/linguaplugin.py
/usr/lib/python3.6/site-packages/mako/ext/preprocessors.py
/usr/lib/python3.6/site-packages/mako/ext/pygmentplugin.py
/usr/lib/python3.6/site-packages/mako/ext/turbogears.py
/usr/lib/python3.6/site-packages/mako/filters.py
/usr/lib/python3.6/site-packages/mako/lexer.py
/usr/lib/python3.6/site-packages/mako/lookup.py
/usr/lib/python3.6/site-packages/mako/parsetree.py
/usr/lib/python3.6/site-packages/mako/pygen.py
/usr/lib/python3.6/site-packages/mako/pyparser.py
/usr/lib/python3.6/site-packages/mako/runtime.py
/usr/lib/python3.6/site-packages/mako/template.py
/usr/lib/python3.6/site-packages/mako/util.py
/usr/share/doc/python3-mako
/usr/share/doc/python3-mako/CHANGES
/usr/share/doc/python3-mako/README.rst
/usr/share/doc/python3-mako/examples
/usr/share/doc/python3-mako/examples/bench
/usr/share/doc/python3-mako/examples/bench/basic.py
/usr/share/doc/python3-mako/examples/bench/cheetah
/usr/share/doc/python3-mako/examples/bench/cheetah/footer.tmpl
/usr/share/doc/python3-mako/examples/bench/cheetah/header.tmpl
/usr/share/doc/python3-mako/examples/bench/cheetah/template.tmpl
/usr/share/doc/python3-mako/examples/bench/django
/usr/share/doc/python3-mako/examples/bench/django/templates
/usr/share/doc/python3-mako/examples/bench/django/templates/base.html
/usr/share/doc/python3-mako/examples/bench/django/templates/template.html
/usr/share/doc/python3-mako/examples/bench/django/templatetags
/usr/share/doc/python3-mako/examples/bench/django/templatetags/__init__.py
/usr/share/doc/python3-mako/examples/bench/django/templatetags/bench.py
/usr/share/doc/python3-mako/examples/bench/genshi
/usr/share/doc/python3-mako/examples/bench/genshi/base.html
/usr/share/doc/python3-mako/examples/bench/genshi/template.html
/usr/share/doc/python3-mako/examples/bench/jinja2
/usr/share/doc/python3-mako/examples/bench/jinja2/footer.html
/usr/share/doc/python3-mako/examples/bench/jinja2/header.html
/usr/share/doc/python3-mako/examples/bench/jinja2/template.html
/usr/share/doc/python3-mako/examples/bench/jinja2_inheritance
/usr/share/doc/python3-mako/examples/bench/jinja2_inheritance/base.html
/usr/share/doc/python3-mako/examples/bench/jinja2_inheritance/template.html
/usr/share/doc/python3-mako/examples/bench/kid
/usr/share/doc/python3-mako/examples/bench/kid/base.kid
/usr/share/doc/python3-mako/examples/bench/kid/template.kid
/usr/share/doc/python3-mako/examples/bench/mako
/usr/share/doc/python3-mako/examples/bench/mako/footer.html
/usr/share/doc/python3-mako/examples/bench/mako/header.html
/usr/share/doc/python3-mako/examples/bench/mako/template.html
/usr/share/doc/python3-mako/examples/bench/mako_inheritance
/usr/share/doc/python3-mako/examples/bench/mako_inheritance/base.html
/usr/share/doc/python3-mako/examples/bench/mako_inheritance/template.html
/usr/share/doc/python3-mako/examples/bench/myghty
/usr/share/doc/python3-mako/examples/bench/myghty/base.myt
/usr/share/doc/python3-mako/examples/bench/myghty/template.myt
/usr/share/doc/python3-mako/examples/wsgi
/usr/share/doc/python3-mako/examples/wsgi/htdocs
/usr/share/doc/python3-mako/examples/wsgi/htdocs/index.html
/usr/share/doc/python3-mako/examples/wsgi/run_wsgi.py
/usr/share/doc/python3-mako/examples/wsgi/templates
/usr/share/doc/python3-mako/examples/wsgi/templates/root.html
/usr/share/licenses/python3-mako
/usr/share/licenses/python3-mako/LICENSE
References
Summary
In this tutorial we learn how to install python3-mako
on Rocky Linux 8 using yum and dnf.