How To Install python3-flask-wtf on Rocky Linux 8

In this tutorial we learn how to install python3-flask-wtf on Rocky Linux 8. python3-flask-wtf is Simple integration of Flask and WTForms

Introduction

In this tutorial we learn how to install python3-flask-wtf on Rocky Linux 8.

What is python3-flask-wtf

Flask-WTF offers simple integration with WTForms. This integration includes optional CSRF handling for greater security.

We can use yum or dnf to install python3-flask-wtf on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-flask-wtf.

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

sudo dnf -y install python3-flask-wtf

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

sudo yum -y install python3-flask-wtf

How To Uninstall python3-flask-wtf on Rocky Linux 8

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

sudo dnf remove python3-flask-wtf

python3-flask-wtf Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/Flask_WTF-0.14.2-py3.6.egg-info
/usr/lib/python3.6/site-packages/Flask_WTF-0.14.2-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/Flask_WTF-0.14.2-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/Flask_WTF-0.14.2-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/Flask_WTF-0.14.2-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/Flask_WTF-0.14.2-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/Flask_WTF-0.14.2-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/flask_wtf
/usr/lib/python3.6/site-packages/flask_wtf/__init__.py
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/_compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/_compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/csrf.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/csrf.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/file.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/file.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/form.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/form.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/html5.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/html5.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/i18n.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_wtf/__pycache__/i18n.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_wtf/_compat.py
/usr/lib/python3.6/site-packages/flask_wtf/csrf.py
/usr/lib/python3.6/site-packages/flask_wtf/file.py
/usr/lib/python3.6/site-packages/flask_wtf/form.py
/usr/lib/python3.6/site-packages/flask_wtf/html5.py
/usr/lib/python3.6/site-packages/flask_wtf/i18n.py
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha/__init__.py
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha/__pycache__
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha/__pycache__/fields.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha/__pycache__/fields.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha/__pycache__/validators.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha/__pycache__/validators.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha/__pycache__/widgets.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha/__pycache__/widgets.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha/fields.py
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha/validators.py
/usr/lib/python3.6/site-packages/flask_wtf/recaptcha/widgets.py
/usr/share/doc/python3-flask-wtf
/usr/share/doc/python3-flask-wtf/LICENSE
/usr/share/doc/python3-flask-wtf/PKG-INFO
/usr/share/doc/python3-flask-wtf/docs
/usr/share/doc/python3-flask-wtf/docs/Makefile
/usr/share/doc/python3-flask-wtf/docs/_static
/usr/share/doc/python3-flask-wtf/docs/_static/flask-wtf.png
/usr/share/doc/python3-flask-wtf/docs/_templates
/usr/share/doc/python3-flask-wtf/docs/_templates/brand.html
/usr/share/doc/python3-flask-wtf/docs/_templates/useful-links.html
/usr/share/doc/python3-flask-wtf/docs/_themes
/usr/share/doc/python3-flask-wtf/docs/_themes/LICENSE
/usr/share/doc/python3-flask-wtf/docs/_themes/README.rst
/usr/share/doc/python3-flask-wtf/docs/_themes/flask
/usr/share/doc/python3-flask-wtf/docs/_themes/flask/layout.html
/usr/share/doc/python3-flask-wtf/docs/_themes/flask/relations.html
/usr/share/doc/python3-flask-wtf/docs/_themes/flask/static
/usr/share/doc/python3-flask-wtf/docs/_themes/flask/static/flasky.css_t
/usr/share/doc/python3-flask-wtf/docs/_themes/flask/theme.conf
/usr/share/doc/python3-flask-wtf/docs/_themes/flask_small
/usr/share/doc/python3-flask-wtf/docs/_themes/flask_small/layout.html
/usr/share/doc/python3-flask-wtf/docs/_themes/flask_small/static
/usr/share/doc/python3-flask-wtf/docs/_themes/flask_small/static/flasky.css_t
/usr/share/doc/python3-flask-wtf/docs/_themes/flask_small/theme.conf
/usr/share/doc/python3-flask-wtf/docs/_themes/flask_theme_support.py
/usr/share/doc/python3-flask-wtf/docs/api.rst
/usr/share/doc/python3-flask-wtf/docs/authors.rst
/usr/share/doc/python3-flask-wtf/docs/changelog.rst
/usr/share/doc/python3-flask-wtf/docs/conf.py
/usr/share/doc/python3-flask-wtf/docs/config.rst
/usr/share/doc/python3-flask-wtf/docs/csrf.rst
/usr/share/doc/python3-flask-wtf/docs/form.rst
/usr/share/doc/python3-flask-wtf/docs/index.rst
/usr/share/doc/python3-flask-wtf/docs/install.rst
/usr/share/doc/python3-flask-wtf/docs/license.rst
/usr/share/doc/python3-flask-wtf/docs/make.bat
/usr/share/doc/python3-flask-wtf/docs/quickstart.rst
/usr/share/doc/python3-flask-wtf/docs/upgrade.rst

References

Summary

In this tutorial we learn how to install python3-flask-wtf on Rocky Linux 8 using yum and dnf.