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

In this tutorial we learn how to install python3-flask-restful on Rocky Linux 8. python3-flask-restful is Simple framework for creating REST APIs for Flask

Introduction

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

What is python3-flask-restful

Flask-RESTful is Python 3 extension for Flask that adds support for quickly building REST APIs. It is a lightweight abstraction that works with your existing ORM/libraries.

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

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

sudo dnf -y install python3-flask-restful

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

sudo yum -y install python3-flask-restful

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

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

sudo dnf remove python3-flask-restful

python3-flask-restful Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/Flask_RESTful-0.3.8-py3.6.egg-info
/usr/lib/python3.6/site-packages/Flask_RESTful-0.3.8-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/Flask_RESTful-0.3.8-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/Flask_RESTful-0.3.8-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/Flask_RESTful-0.3.8-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/Flask_RESTful-0.3.8-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/Flask_RESTful-0.3.8-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/flask_restful
/usr/lib/python3.6/site-packages/flask_restful/__init__.py
/usr/lib/python3.6/site-packages/flask_restful/__pycache__
/usr/lib/python3.6/site-packages/flask_restful/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_restful/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_restful/__pycache__/__version__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_restful/__pycache__/__version__.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_restful/__pycache__/fields.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_restful/__pycache__/fields.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_restful/__pycache__/inputs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_restful/__pycache__/inputs.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_restful/__pycache__/reqparse.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_restful/__pycache__/reqparse.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_restful/__version__.py
/usr/lib/python3.6/site-packages/flask_restful/fields.py
/usr/lib/python3.6/site-packages/flask_restful/inputs.py
/usr/lib/python3.6/site-packages/flask_restful/representations
/usr/lib/python3.6/site-packages/flask_restful/representations/__init__.py
/usr/lib/python3.6/site-packages/flask_restful/representations/__pycache__
/usr/lib/python3.6/site-packages/flask_restful/representations/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_restful/representations/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_restful/representations/__pycache__/json.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_restful/representations/__pycache__/json.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_restful/representations/json.py
/usr/lib/python3.6/site-packages/flask_restful/reqparse.py
/usr/lib/python3.6/site-packages/flask_restful/utils
/usr/lib/python3.6/site-packages/flask_restful/utils/__init__.py
/usr/lib/python3.6/site-packages/flask_restful/utils/__pycache__
/usr/lib/python3.6/site-packages/flask_restful/utils/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_restful/utils/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_restful/utils/__pycache__/cors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_restful/utils/__pycache__/cors.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_restful/utils/__pycache__/crypto.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/flask_restful/utils/__pycache__/crypto.cpython-36.pyc
/usr/lib/python3.6/site-packages/flask_restful/utils/cors.py
/usr/lib/python3.6/site-packages/flask_restful/utils/crypto.py
/usr/share/doc/python3-flask-restful
/usr/share/doc/python3-flask-restful/AUTHORS.md
/usr/share/doc/python3-flask-restful/README.md
/usr/share/doc/python3-flask-restful/docs
/usr/share/doc/python3-flask-restful/docs/Makefile
/usr/share/doc/python3-flask-restful/docs/_static
/usr/share/doc/python3-flask-restful/docs/_static/flask-restful-small.png
/usr/share/doc/python3-flask-restful/docs/_static/flask-restful.png
/usr/share/doc/python3-flask-restful/docs/_templates
/usr/share/doc/python3-flask-restful/docs/_templates/sidebarintro.html
/usr/share/doc/python3-flask-restful/docs/_templates/sidebarlogo.html
/usr/share/doc/python3-flask-restful/docs/_themes
/usr/share/doc/python3-flask-restful/docs/_themes/LICENSE
/usr/share/doc/python3-flask-restful/docs/_themes/README
/usr/share/doc/python3-flask-restful/docs/_themes/flask
/usr/share/doc/python3-flask-restful/docs/_themes/flask/layout.html
/usr/share/doc/python3-flask-restful/docs/_themes/flask/relations.html
/usr/share/doc/python3-flask-restful/docs/_themes/flask/static
/usr/share/doc/python3-flask-restful/docs/_themes/flask/static/flasky.css_t
/usr/share/doc/python3-flask-restful/docs/_themes/flask/theme.conf
/usr/share/doc/python3-flask-restful/docs/_themes/flask_small
/usr/share/doc/python3-flask-restful/docs/_themes/flask_small/layout.html
/usr/share/doc/python3-flask-restful/docs/_themes/flask_small/static
/usr/share/doc/python3-flask-restful/docs/_themes/flask_small/static/flasky.css_t
/usr/share/doc/python3-flask-restful/docs/_themes/flask_small/theme.conf
/usr/share/doc/python3-flask-restful/docs/_themes/flask_theme_support.py
/usr/share/doc/python3-flask-restful/docs/api.rst
/usr/share/doc/python3-flask-restful/docs/conf.py
/usr/share/doc/python3-flask-restful/docs/contents.rst.inc
/usr/share/doc/python3-flask-restful/docs/extending.rst
/usr/share/doc/python3-flask-restful/docs/fields.rst
/usr/share/doc/python3-flask-restful/docs/index.rst
/usr/share/doc/python3-flask-restful/docs/installation.rst
/usr/share/doc/python3-flask-restful/docs/intermediate-usage.rst
/usr/share/doc/python3-flask-restful/docs/make.bat
/usr/share/doc/python3-flask-restful/docs/quickstart.rst
/usr/share/doc/python3-flask-restful/docs/reqparse.rst
/usr/share/doc/python3-flask-restful/docs/testing.rst
/usr/share/doc/python3-flask-restful/examples
/usr/share/doc/python3-flask-restful/examples/todo.py
/usr/share/doc/python3-flask-restful/examples/todo_simple.py
/usr/share/doc/python3-flask-restful/examples/xml_representation.py
/usr/share/licenses/python3-flask-restful
/usr/share/licenses/python3-flask-restful/LICENSE

References

Summary

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