How To Install python3-chameleon on Fedora 36

In this tutorial we learn how to install python3-chameleon in Fedora 36. python3-chameleon is XML-based template compiler

Introduction

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

What is python3-chameleon

Chameleon is an XML attribute language template compiler. It comes with implementations for the Zope Page Templates (ZPT) and Genshi templating languages. The engine compiles templates into Python byte-code. This results in performance which is on average 10-15 times better than implementations which use run-time interpretation.

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

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

sudo dnf -y install python3-chameleon

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

sudo yum -y install python3-chameleon

How To Uninstall python3-chameleon on Fedora 36

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

sudo dnf remove python3-chameleon

python3-chameleon Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/Chameleon-3.9.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/Chameleon-3.9.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/Chameleon-3.9.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/Chameleon-3.9.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/Chameleon-3.9.1-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/Chameleon-3.9.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/chameleon
/usr/lib/python3.10/site-packages/chameleon/__init__.py
/usr/lib/python3.10/site-packages/chameleon/__pycache__
/usr/lib/python3.10/site-packages/chameleon/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/astutil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/astutil.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/benchmark.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/benchmark.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/codegen.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/codegen.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/compiler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/compiler.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/exc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/exc.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/i18n.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/i18n.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/interfaces.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/interfaces.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/loader.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/loader.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/metal.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/metal.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/namespaces.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/namespaces.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/nodes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/nodes.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/program.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/program.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/tal.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/tal.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/tales.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/tales.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/template.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/template.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/tokenize.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/tokenize.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/astutil.py
/usr/lib/python3.10/site-packages/chameleon/benchmark.py
/usr/lib/python3.10/site-packages/chameleon/codegen.py
/usr/lib/python3.10/site-packages/chameleon/compat.py
/usr/lib/python3.10/site-packages/chameleon/compiler.py
/usr/lib/python3.10/site-packages/chameleon/config.py
/usr/lib/python3.10/site-packages/chameleon/exc.py
/usr/lib/python3.10/site-packages/chameleon/i18n.py
/usr/lib/python3.10/site-packages/chameleon/interfaces.py
/usr/lib/python3.10/site-packages/chameleon/loader.py
/usr/lib/python3.10/site-packages/chameleon/metal.py
/usr/lib/python3.10/site-packages/chameleon/namespaces.py
/usr/lib/python3.10/site-packages/chameleon/nodes.py
/usr/lib/python3.10/site-packages/chameleon/parser.py
/usr/lib/python3.10/site-packages/chameleon/program.py
/usr/lib/python3.10/site-packages/chameleon/tal.py
/usr/lib/python3.10/site-packages/chameleon/tales.py
/usr/lib/python3.10/site-packages/chameleon/template.py
/usr/lib/python3.10/site-packages/chameleon/tokenize.py
/usr/lib/python3.10/site-packages/chameleon/utils.py
/usr/lib/python3.10/site-packages/chameleon/zpt
/usr/lib/python3.10/site-packages/chameleon/zpt/__init__.py
/usr/lib/python3.10/site-packages/chameleon/zpt/__pycache__
/usr/lib/python3.10/site-packages/chameleon/zpt/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/zpt/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/zpt/__pycache__/loader.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/zpt/__pycache__/loader.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/zpt/__pycache__/program.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/zpt/__pycache__/program.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/zpt/__pycache__/template.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/chameleon/zpt/__pycache__/template.cpython-310.pyc
/usr/lib/python3.10/site-packages/chameleon/zpt/loader.py
/usr/lib/python3.10/site-packages/chameleon/zpt/program.py
/usr/lib/python3.10/site-packages/chameleon/zpt/template.py
/usr/share/doc/python3-chameleon
/usr/share/doc/python3-chameleon/README.rst

References

Summary

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