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

In this tutorial we learn how to install python3-flask-script on Rocky Linux 8. python3-flask-script is Scripting support for flask in python3-flask

Introduction

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

What is python3-flask-script

The Flask-Script extension provides support for writing external scripts in Flask.This includes running a development server, a customized Python shell, scripts to set up your database, cronjobs, and other command-line tasks that belong outside the web application itself.

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

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

sudo dnf -y install python3-flask-script

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

sudo yum -y install python3-flask-script

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

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

sudo dnf remove python3-flask-script

python3-flask-script Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/Flask_Script-2.0.6-py3.6.egg-info
/usr/lib/python3.6/site-packages/Flask_Script-2.0.6-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/Flask_Script-2.0.6-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/Flask_Script-2.0.6-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/Flask_Script-2.0.6-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/Flask_Script-2.0.6-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/Flask_Script-2.0.6-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/flask_script
/usr/lib/python3.6/site-packages/flask_script/__init__.py
/usr/lib/python3.6/site-packages/flask_script/__pycache__
/usr/lib/python3.6/site-packages/flask_script/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_script/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_script/__pycache__/_compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_script/__pycache__/_compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_script/__pycache__/cli.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_script/__pycache__/cli.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_script/__pycache__/commands.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_script/__pycache__/commands.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_script/_compat.py
/usr/lib/python3.6/site-packages/flask_script/cli.py
/usr/lib/python3.6/site-packages/flask_script/commands.py
/usr/share/doc/python3-flask-script
/usr/share/doc/python3-flask-script/LICENSE
/usr/share/doc/python3-flask-script/README.rst
/usr/share/doc/python3-flask-script/html
/usr/share/doc/python3-flask-script/html/_sources
/usr/share/doc/python3-flask-script/html/_sources/index.rst.txt
/usr/share/doc/python3-flask-script/html/_static
/usr/share/doc/python3-flask-script/html/_static/ajax-loader.gif
/usr/share/doc/python3-flask-script/html/_static/basic.css
/usr/share/doc/python3-flask-script/html/_static/comment-bright.png
/usr/share/doc/python3-flask-script/html/_static/comment-close.png
/usr/share/doc/python3-flask-script/html/_static/comment.png
/usr/share/doc/python3-flask-script/html/_static/doctools.js
/usr/share/doc/python3-flask-script/html/_static/documentation_options.js
/usr/share/doc/python3-flask-script/html/_static/down-pressed.png
/usr/share/doc/python3-flask-script/html/_static/down.png
/usr/share/doc/python3-flask-script/html/_static/file.png
/usr/share/doc/python3-flask-script/html/_static/flask-script.png
/usr/share/doc/python3-flask-script/html/_static/flasky.css
/usr/share/doc/python3-flask-script/html/_static/index.html
/usr/share/doc/python3-flask-script/html/_static/jquery-3.2.1.js
/usr/share/doc/python3-flask-script/html/_static/jquery.js
/usr/share/doc/python3-flask-script/html/_static/minus.png
/usr/share/doc/python3-flask-script/html/_static/plus.png
/usr/share/doc/python3-flask-script/html/_static/pygments.css
/usr/share/doc/python3-flask-script/html/_static/searchtools.js
/usr/share/doc/python3-flask-script/html/_static/underscore-1.3.1.js
/usr/share/doc/python3-flask-script/html/_static/underscore.js
/usr/share/doc/python3-flask-script/html/_static/up-pressed.png
/usr/share/doc/python3-flask-script/html/_static/up.png
/usr/share/doc/python3-flask-script/html/_static/websupport.js
/usr/share/doc/python3-flask-script/html/genindex.html
/usr/share/doc/python3-flask-script/html/index.html
/usr/share/doc/python3-flask-script/html/objects.inv
/usr/share/doc/python3-flask-script/html/py-modindex.html
/usr/share/doc/python3-flask-script/html/search.html
/usr/share/doc/python3-flask-script/html/searchindex.js

References

Summary

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