How To Install python3-jinja2.noarch on Amazon Linux 2

In this tutorial we learn how to install python3-jinja2.noarch in Amazon Linux 2. python3-jinja2.noarch is General purpose template engine

Introduction

In this tutorial we learn how to install python3-jinja2.noarch on Amazon Linux 2.

What is python3-jinja2.noarch

Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. If you have any exposure to other text-based template languages, such as Smarty or Django, you should feel right at home with Jinja2. It’s both designer and developer friendly by sticking to Python’s principles and adding functionality useful for templating environments.

We can use yum to install python3-jinja2.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python3-jinja2.noarch.

Install python3-jinja2.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-jinja2.noarch using yum by running the following command:

sudo yum -y install python3-jinja2.noarch

How To Uninstall python3-jinja2.noarch on Amazon Linux 2

To uninstall only the python3-jinja2.noarch package we can use the following command:

sudo yum remove python3-jinja2.noarch

python3-jinja2.noarch Package Contents on Amazon Linux 2

/usr/lib/python3.7/site-packages/Jinja2-2.7.2-py3.7.egg-info
/usr/lib/python3.7/site-packages/Jinja2-2.7.2-py3.7.egg-info/PKG-INFO
/usr/lib/python3.7/site-packages/Jinja2-2.7.2-py3.7.egg-info/SOURCES.txt
/usr/lib/python3.7/site-packages/Jinja2-2.7.2-py3.7.egg-info/dependency_links.txt
/usr/lib/python3.7/site-packages/Jinja2-2.7.2-py3.7.egg-info/entry_points.txt
/usr/lib/python3.7/site-packages/Jinja2-2.7.2-py3.7.egg-info/not-zip-safe
/usr/lib/python3.7/site-packages/Jinja2-2.7.2-py3.7.egg-info/requires.txt
/usr/lib/python3.7/site-packages/Jinja2-2.7.2-py3.7.egg-info/top_level.txt
/usr/lib/python3.7/site-packages/jinja2
/usr/lib/python3.7/site-packages/jinja2/__init__.py
/usr/lib/python3.7/site-packages/jinja2/__pycache__
/usr/lib/python3.7/site-packages/jinja2/__pycache__/__init__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/__init__.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/_compat.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/_compat.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/_stringdefs.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/_stringdefs.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/bccache.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/bccache.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/compiler.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/compiler.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/constants.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/constants.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/debug.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/debug.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/defaults.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/defaults.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/environment.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/environment.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/exceptions.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/exceptions.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/ext.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/ext.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/filters.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/filters.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/lexer.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/lexer.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/loaders.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/loaders.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/meta.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/meta.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/nodes.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/nodes.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/optimizer.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/optimizer.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/parser.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/parser.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/runtime.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/runtime.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/sandbox.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/sandbox.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/tests.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/tests.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/utils.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/utils.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/visitor.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/__pycache__/visitor.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/_compat.py
/usr/lib/python3.7/site-packages/jinja2/_stringdefs.py
/usr/lib/python3.7/site-packages/jinja2/bccache.py
/usr/lib/python3.7/site-packages/jinja2/compiler.py
/usr/lib/python3.7/site-packages/jinja2/constants.py
/usr/lib/python3.7/site-packages/jinja2/debug.py
/usr/lib/python3.7/site-packages/jinja2/defaults.py
/usr/lib/python3.7/site-packages/jinja2/environment.py
/usr/lib/python3.7/site-packages/jinja2/exceptions.py
/usr/lib/python3.7/site-packages/jinja2/ext.py
/usr/lib/python3.7/site-packages/jinja2/filters.py
/usr/lib/python3.7/site-packages/jinja2/lexer.py
/usr/lib/python3.7/site-packages/jinja2/loaders.py
/usr/lib/python3.7/site-packages/jinja2/meta.py
/usr/lib/python3.7/site-packages/jinja2/nodes.py
/usr/lib/python3.7/site-packages/jinja2/optimizer.py
/usr/lib/python3.7/site-packages/jinja2/parser.py
/usr/lib/python3.7/site-packages/jinja2/runtime.py
/usr/lib/python3.7/site-packages/jinja2/sandbox.py
/usr/lib/python3.7/site-packages/jinja2/tests.py
/usr/lib/python3.7/site-packages/jinja2/testsuite
/usr/lib/python3.7/site-packages/jinja2/testsuite/__init__.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/__init__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/__init__.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/api.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/api.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/bytecode_cache.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/bytecode_cache.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/core_tags.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/core_tags.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/debug.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/debug.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/doctests.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/doctests.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/ext.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/ext.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/filters.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/filters.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/imports.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/imports.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/inheritance.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/inheritance.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/lexnparse.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/lexnparse.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/loader.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/loader.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/regression.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/regression.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/security.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/security.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/tests.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/tests.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/utils.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/__pycache__/utils.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/api.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/bytecode_cache.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/core_tags.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/debug.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/doctests.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/ext.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/filters.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/imports.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/inheritance.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/lexnparse.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/loader.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/regression.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/res
/usr/lib/python3.7/site-packages/jinja2/testsuite/res/__init__.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/res/__pycache__
/usr/lib/python3.7/site-packages/jinja2/testsuite/res/__pycache__/__init__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/res/__pycache__/__init__.cpython-37.pyc
/usr/lib/python3.7/site-packages/jinja2/testsuite/res/templates
/usr/lib/python3.7/site-packages/jinja2/testsuite/res/templates/broken.html
/usr/lib/python3.7/site-packages/jinja2/testsuite/res/templates/foo
/usr/lib/python3.7/site-packages/jinja2/testsuite/res/templates/foo/test.html
/usr/lib/python3.7/site-packages/jinja2/testsuite/res/templates/syntaxerror.html
/usr/lib/python3.7/site-packages/jinja2/testsuite/res/templates/test.html
/usr/lib/python3.7/site-packages/jinja2/testsuite/security.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/tests.py
/usr/lib/python3.7/site-packages/jinja2/testsuite/utils.py
/usr/lib/python3.7/site-packages/jinja2/utils.py
/usr/lib/python3.7/site-packages/jinja2/visitor.py
/usr/share/doc/python3-jinja2-2.7.2
/usr/share/doc/python3-jinja2-2.7.2/AUTHORS
/usr/share/doc/python3-jinja2-2.7.2/CHANGES
/usr/share/doc/python3-jinja2-2.7.2/LICENSE
/usr/share/doc/python3-jinja2-2.7.2/examples
/usr/share/doc/python3-jinja2-2.7.2/examples/basic
/usr/share/doc/python3-jinja2-2.7.2/examples/basic/cycle.py
/usr/share/doc/python3-jinja2-2.7.2/examples/basic/debugger.py
/usr/share/doc/python3-jinja2-2.7.2/examples/basic/inheritance.py
/usr/share/doc/python3-jinja2-2.7.2/examples/basic/templates
/usr/share/doc/python3-jinja2-2.7.2/examples/basic/templates/broken.html
/usr/share/doc/python3-jinja2-2.7.2/examples/basic/templates/subbroken.html
/usr/share/doc/python3-jinja2-2.7.2/examples/basic/test.py
/usr/share/doc/python3-jinja2-2.7.2/examples/basic/test_filter_and_linestatements.py
/usr/share/doc/python3-jinja2-2.7.2/examples/basic/test_loop_filter.py
/usr/share/doc/python3-jinja2-2.7.2/examples/basic/translate.py
/usr/share/doc/python3-jinja2-2.7.2/examples/bench.py
/usr/share/doc/python3-jinja2-2.7.2/examples/profile.py
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/django
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/django/_form.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/django/_input_field.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/django/_textarea.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/django/index.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/django/layout.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/djangoext.py
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/genshi
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/genshi/helpers.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/genshi/index.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/genshi/layout.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/jinja
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/jinja/helpers.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/jinja/index.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/jinja/layout.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/mako
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/mako/helpers.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/mako/index.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/mako/layout.html
/usr/share/doc/python3-jinja2-2.7.2/examples/rwbench/rwbench.py
/usr/share/doc/python3-jinja2-2.7.2/ext
/usr/share/doc/python3-jinja2-2.7.2/ext/Vim
/usr/share/doc/python3-jinja2-2.7.2/ext/Vim/jinja.vim
/usr/share/doc/python3-jinja2-2.7.2/ext/django2jinja
/usr/share/doc/python3-jinja2-2.7.2/ext/django2jinja/django2jinja.py
/usr/share/doc/python3-jinja2-2.7.2/ext/django2jinja/example.py
/usr/share/doc/python3-jinja2-2.7.2/ext/django2jinja/templates
/usr/share/doc/python3-jinja2-2.7.2/ext/django2jinja/templates/index.html
/usr/share/doc/python3-jinja2-2.7.2/ext/django2jinja/templates/layout.html
/usr/share/doc/python3-jinja2-2.7.2/ext/django2jinja/templates/subtemplate.html
/usr/share/doc/python3-jinja2-2.7.2/ext/djangojinja2.py
/usr/share/doc/python3-jinja2-2.7.2/ext/inlinegettext.py
/usr/share/doc/python3-jinja2-2.7.2/ext/jinja.el
/usr/share/doc/python3-jinja2-2.7.2/html
/usr/share/doc/python3-jinja2-2.7.2/html/_sources
/usr/share/doc/python3-jinja2-2.7.2/html/_sources/api.txt
/usr/share/doc/python3-jinja2-2.7.2/html/_sources/changelog.txt
/usr/share/doc/python3-jinja2-2.7.2/html/_sources/extensions.txt
/usr/share/doc/python3-jinja2-2.7.2/html/_sources/faq.txt
/usr/share/doc/python3-jinja2-2.7.2/html/_sources/index.txt
/usr/share/doc/python3-jinja2-2.7.2/html/_sources/integration.txt
/usr/share/doc/python3-jinja2-2.7.2/html/_sources/intro.txt
/usr/share/doc/python3-jinja2-2.7.2/html/_sources/latexindex.txt
/usr/share/doc/python3-jinja2-2.7.2/html/_sources/sandbox.txt
/usr/share/doc/python3-jinja2-2.7.2/html/_sources/switching.txt
/usr/share/doc/python3-jinja2-2.7.2/html/_sources/templates.txt
/usr/share/doc/python3-jinja2-2.7.2/html/_sources/tricks.txt
/usr/share/doc/python3-jinja2-2.7.2/html/_static
/usr/share/doc/python3-jinja2-2.7.2/html/_static/ajax-loader.gif
/usr/share/doc/python3-jinja2-2.7.2/html/_static/basic.css
/usr/share/doc/python3-jinja2-2.7.2/html/_static/comment-bright.png
/usr/share/doc/python3-jinja2-2.7.2/html/_static/comment-close.png
/usr/share/doc/python3-jinja2-2.7.2/html/_static/comment.png
/usr/share/doc/python3-jinja2-2.7.2/html/_static/doctools.js
/usr/share/doc/python3-jinja2-2.7.2/html/_static/down-pressed.png
/usr/share/doc/python3-jinja2-2.7.2/html/_static/down.png
/usr/share/doc/python3-jinja2-2.7.2/html/_static/file.png
/usr/share/doc/python3-jinja2-2.7.2/html/_static/jinja-small.png
/usr/share/doc/python3-jinja2-2.7.2/html/_static/jinja.css
/usr/share/doc/python3-jinja2-2.7.2/html/_static/jquery.js
/usr/share/doc/python3-jinja2-2.7.2/html/_static/minus.png
/usr/share/doc/python3-jinja2-2.7.2/html/_static/plus.png
/usr/share/doc/python3-jinja2-2.7.2/html/_static/pygments.css
/usr/share/doc/python3-jinja2-2.7.2/html/_static/searchtools.js
/usr/share/doc/python3-jinja2-2.7.2/html/_static/underscore.js
/usr/share/doc/python3-jinja2-2.7.2/html/_static/up-pressed.png
/usr/share/doc/python3-jinja2-2.7.2/html/_static/up.png
/usr/share/doc/python3-jinja2-2.7.2/html/_static/websupport.js
/usr/share/doc/python3-jinja2-2.7.2/html/api.html
/usr/share/doc/python3-jinja2-2.7.2/html/changelog.html
/usr/share/doc/python3-jinja2-2.7.2/html/extensions.html
/usr/share/doc/python3-jinja2-2.7.2/html/faq.html
/usr/share/doc/python3-jinja2-2.7.2/html/genindex.html
/usr/share/doc/python3-jinja2-2.7.2/html/index.html
/usr/share/doc/python3-jinja2-2.7.2/html/integration.html
/usr/share/doc/python3-jinja2-2.7.2/html/intro.html
/usr/share/doc/python3-jinja2-2.7.2/html/latexindex.html
/usr/share/doc/python3-jinja2-2.7.2/html/objects.inv
/usr/share/doc/python3-jinja2-2.7.2/html/sandbox.html
/usr/share/doc/python3-jinja2-2.7.2/html/search.html
/usr/share/doc/python3-jinja2-2.7.2/html/searchindex.js
/usr/share/doc/python3-jinja2-2.7.2/html/switching.html
/usr/share/doc/python3-jinja2-2.7.2/html/templates.html
/usr/share/doc/python3-jinja2-2.7.2/html/tricks.html

References

Summary

In this tutorial we learn how to install python3-jinja2.noarch on Amazon Linux 2 using yum.