How To Install python3-tw2-core on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-tw2-core
on Rocky Linux 8.
What is python3-tw2-core
ToscaWidgets is a web widget toolkit for Python to aid in the creation, packaging and distribution of common view elements normally used in the web. The tw2.core package is lightweight and intended for run-time use only; development tools are in tw2.devtools. This package contains the python3 version of the toolkit
We can use yum
or dnf
to install python3-tw2-core
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-tw2-core.
Install python3-tw2-core 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-tw2-core
using dnf
by running the following command:
sudo dnf -y install python3-tw2-core
Install python3-tw2-core 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-tw2-core
using yum
by running the following command:
sudo yum -y install python3-tw2-core
How To Uninstall python3-tw2-core on Rocky Linux 8
To uninstall only the python3-tw2-core
package we can use the following command:
sudo dnf remove python3-tw2-core
python3-tw2-core Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/tw2
/usr/lib/python3.6/site-packages/tw2.core-2.2.9-py3.6-nspkg.pth
/usr/lib/python3.6/site-packages/tw2.core-2.2.9-py3.6.egg-info
/usr/lib/python3.6/site-packages/tw2.core-2.2.9-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/tw2.core-2.2.9-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/tw2.core-2.2.9-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/tw2.core-2.2.9-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/tw2.core-2.2.9-py3.6.egg-info/namespace_packages.txt
/usr/lib/python3.6/site-packages/tw2.core-2.2.9-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/tw2.core-2.2.9-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/tw2.core-2.2.9-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/tw2/core
/usr/lib/python3.6/site-packages/tw2/core/__init__.py
/usr/lib/python3.6/site-packages/tw2/core/__pycache__
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/command.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/command.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/core.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/core.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/i18n.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/i18n.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/jinja_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/jinja_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/js.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/js.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/jsonify.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/jsonify.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/mako_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/mako_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/middleware.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/middleware.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/params.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/params.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/resources.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/resources.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/templating.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/templating.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/validation.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/validation.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/widgets.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/__pycache__/widgets.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/command.py
/usr/lib/python3.6/site-packages/tw2/core/compat.py
/usr/lib/python3.6/site-packages/tw2/core/core.py
/usr/lib/python3.6/site-packages/tw2/core/i18n
/usr/lib/python3.6/site-packages/tw2/core/i18n.py
/usr/lib/python3.6/site-packages/tw2/core/i18n/de
/usr/lib/python3.6/site-packages/tw2/core/i18n/de/LC_MESSAGES
/usr/lib/python3.6/site-packages/tw2/core/i18n/de/LC_MESSAGES/tw2core.mo
/usr/lib/python3.6/site-packages/tw2/core/i18n/en
/usr/lib/python3.6/site-packages/tw2/core/i18n/en/LC_MESSAGES
/usr/lib/python3.6/site-packages/tw2/core/i18n/en/LC_MESSAGES/tw2core.mo
/usr/lib/python3.6/site-packages/tw2/core/i18n/es
/usr/lib/python3.6/site-packages/tw2/core/i18n/es/LC_MESSAGES
/usr/lib/python3.6/site-packages/tw2/core/i18n/es/LC_MESSAGES/tw2core.mo
/usr/lib/python3.6/site-packages/tw2/core/i18n/fr
/usr/lib/python3.6/site-packages/tw2/core/i18n/fr/LC_MESSAGES
/usr/lib/python3.6/site-packages/tw2/core/i18n/fr/LC_MESSAGES/tw2core.mo
/usr/lib/python3.6/site-packages/tw2/core/i18n/it
/usr/lib/python3.6/site-packages/tw2/core/i18n/it/LC_MESSAGES
/usr/lib/python3.6/site-packages/tw2/core/i18n/it/LC_MESSAGES/tw2core.mo
/usr/lib/python3.6/site-packages/tw2/core/i18n/nl
/usr/lib/python3.6/site-packages/tw2/core/i18n/nl/LC_MESSAGES
/usr/lib/python3.6/site-packages/tw2/core/i18n/nl/LC_MESSAGES/tw2core.mo
/usr/lib/python3.6/site-packages/tw2/core/i18n/ru
/usr/lib/python3.6/site-packages/tw2/core/i18n/ru/LC_MESSAGES
/usr/lib/python3.6/site-packages/tw2/core/i18n/ru/LC_MESSAGES/tw2core.mo
/usr/lib/python3.6/site-packages/tw2/core/i18n/uk
/usr/lib/python3.6/site-packages/tw2/core/i18n/uk/LC_MESSAGES
/usr/lib/python3.6/site-packages/tw2/core/i18n/uk/LC_MESSAGES/tw2core.mo
/usr/lib/python3.6/site-packages/tw2/core/jinja_util.py
/usr/lib/python3.6/site-packages/tw2/core/js.py
/usr/lib/python3.6/site-packages/tw2/core/jsonify.py
/usr/lib/python3.6/site-packages/tw2/core/mako_util.py
/usr/lib/python3.6/site-packages/tw2/core/middleware.py
/usr/lib/python3.6/site-packages/tw2/core/params.py
/usr/lib/python3.6/site-packages/tw2/core/resources.py
/usr/lib/python3.6/site-packages/tw2/core/templates
/usr/lib/python3.6/site-packages/tw2/core/templates/__init__.py
/usr/lib/python3.6/site-packages/tw2/core/templates/__pycache__
/usr/lib/python3.6/site-packages/tw2/core/templates/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/templates/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/templates/csslink.html
/usr/lib/python3.6/site-packages/tw2/core/templates/csslink.jinja
/usr/lib/python3.6/site-packages/tw2/core/templates/csslink.kajiki
/usr/lib/python3.6/site-packages/tw2/core/templates/csslink.mak
/usr/lib/python3.6/site-packages/tw2/core/templates/csslink.pt
/usr/lib/python3.6/site-packages/tw2/core/templates/csssource.html
/usr/lib/python3.6/site-packages/tw2/core/templates/csssource.jinja
/usr/lib/python3.6/site-packages/tw2/core/templates/csssource.kajiki
/usr/lib/python3.6/site-packages/tw2/core/templates/csssource.mak
/usr/lib/python3.6/site-packages/tw2/core/templates/display_children.html
/usr/lib/python3.6/site-packages/tw2/core/templates/display_children.jinja
/usr/lib/python3.6/site-packages/tw2/core/templates/display_children.kajiki
/usr/lib/python3.6/site-packages/tw2/core/templates/display_children.mak
/usr/lib/python3.6/site-packages/tw2/core/templates/display_children.pt
/usr/lib/python3.6/site-packages/tw2/core/templates/jslink.html
/usr/lib/python3.6/site-packages/tw2/core/templates/jslink.jinja
/usr/lib/python3.6/site-packages/tw2/core/templates/jslink.kajiki
/usr/lib/python3.6/site-packages/tw2/core/templates/jslink.mak
/usr/lib/python3.6/site-packages/tw2/core/templates/jslink.pt
/usr/lib/python3.6/site-packages/tw2/core/templates/jssource.html
/usr/lib/python3.6/site-packages/tw2/core/templates/jssource.jinja
/usr/lib/python3.6/site-packages/tw2/core/templates/jssource.kajiki
/usr/lib/python3.6/site-packages/tw2/core/templates/jssource.mak
/usr/lib/python3.6/site-packages/tw2/core/templates/jssource.pt
/usr/lib/python3.6/site-packages/tw2/core/templates/page.html
/usr/lib/python3.6/site-packages/tw2/core/templates/page.jinja
/usr/lib/python3.6/site-packages/tw2/core/templates/page.kajiki
/usr/lib/python3.6/site-packages/tw2/core/templates/page.mak
/usr/lib/python3.6/site-packages/tw2/core/templates/page.pt
/usr/lib/python3.6/site-packages/tw2/core/templating.py
/usr/lib/python3.6/site-packages/tw2/core/test_templates
/usr/lib/python3.6/site-packages/tw2/core/test_templates/__init__.py
/usr/lib/python3.6/site-packages/tw2/core/test_templates/__pycache__
/usr/lib/python3.6/site-packages/tw2/core/test_templates/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/test_templates/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/test_templates/always_validate_false_widget.mak
/usr/lib/python3.6/site-packages/tw2/core/test_templates/child_genshi.html
/usr/lib/python3.6/site-packages/tw2/core/test_templates/child_mako.mak
/usr/lib/python3.6/site-packages/tw2/core/test_templates/display_only_test_widget.mak
/usr/lib/python3.6/site-packages/tw2/core/test_templates/field_genshi.html
/usr/lib/python3.6/site-packages/tw2/core/test_templates/inner_chameleon.pt
/usr/lib/python3.6/site-packages/tw2/core/test_templates/inner_genshi.html
/usr/lib/python3.6/site-packages/tw2/core/test_templates/inner_jinja.jinja
/usr/lib/python3.6/site-packages/tw2/core/test_templates/inner_kajiki.kajiki
/usr/lib/python3.6/site-packages/tw2/core/test_templates/inner_mako.mak
/usr/lib/python3.6/site-packages/tw2/core/test_templates/parent_genshi.html
/usr/lib/python3.6/site-packages/tw2/core/test_templates/parent_mako.mak
/usr/lib/python3.6/site-packages/tw2/core/test_templates/simple.html
/usr/lib/python3.6/site-packages/tw2/core/test_templates/simple.jinja
/usr/lib/python3.6/site-packages/tw2/core/test_templates/simple.kajiki
/usr/lib/python3.6/site-packages/tw2/core/test_templates/simple.mak
/usr/lib/python3.6/site-packages/tw2/core/test_templates/simple.pt
/usr/lib/python3.6/site-packages/tw2/core/test_templates/simple_chameleon.pt
/usr/lib/python3.6/site-packages/tw2/core/test_templates/simple_genshi.html
/usr/lib/python3.6/site-packages/tw2/core/test_templates/simple_jinja.jinja
/usr/lib/python3.6/site-packages/tw2/core/test_templates/simple_kajiki.kajiki
/usr/lib/python3.6/site-packages/tw2/core/test_templates/simple_mako.mak
/usr/lib/python3.6/site-packages/tw2/core/test_templates/widget_chameleon.pt
/usr/lib/python3.6/site-packages/tw2/core/test_templates/widget_genshi.html
/usr/lib/python3.6/site-packages/tw2/core/test_templates/widget_jinja.html
/usr/lib/python3.6/site-packages/tw2/core/test_templates/widget_kajiki.html
/usr/lib/python3.6/site-packages/tw2/core/test_templates/widget_mako.mak
/usr/lib/python3.6/site-packages/tw2/core/testbase
/usr/lib/python3.6/site-packages/tw2/core/testbase/__init__.py
/usr/lib/python3.6/site-packages/tw2/core/testbase/__pycache__
/usr/lib/python3.6/site-packages/tw2/core/testbase/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/testbase/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/testbase/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/testbase/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/testbase/__pycache__/xhtmlify.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tw2/core/testbase/__pycache__/xhtmlify.cpython-36.pyc
/usr/lib/python3.6/site-packages/tw2/core/testbase/base.py
/usr/lib/python3.6/site-packages/tw2/core/testbase/xhtmlify.py
/usr/lib/python3.6/site-packages/tw2/core/util.py
/usr/lib/python3.6/site-packages/tw2/core/validation.py
/usr/lib/python3.6/site-packages/tw2/core/widgets.py
/usr/share/doc/python3-tw2-core
/usr/share/doc/python3-tw2-core/README.rst
/usr/share/licenses/python3-tw2-core
/usr/share/licenses/python3-tw2-core/LICENSE.txt
References
Summary
In this tutorial we learn how to install python3-tw2-core
on Rocky Linux 8 using yum and dnf.