How To Install python3-flask-sqlalchemy on Fedora 36

In this tutorial we learn how to install python3-flask-sqlalchemy in Fedora 36. python3-flask-sqlalchemy is Adds SQLAlchemy support to Flask application

Introduction

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

What is python3-flask-sqlalchemy

Flask-SQLAlchemy is an extension for Flask that adds support for SQLAlchemy to your application. It aims to simplify using SQLAlchemy with Flask by providing useful defaults and extra helpers that make it easier to accomplish common tasks. Python 3 version.

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

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

sudo dnf -y install python3-flask-sqlalchemy

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

sudo yum -y install python3-flask-sqlalchemy

How To Uninstall python3-flask-sqlalchemy on Fedora 36

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

sudo dnf remove python3-flask-sqlalchemy

python3-flask-sqlalchemy Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/Flask_SQLAlchemy-2.5.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/Flask_SQLAlchemy-2.5.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/Flask_SQLAlchemy-2.5.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/Flask_SQLAlchemy-2.5.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/Flask_SQLAlchemy-2.5.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/Flask_SQLAlchemy-2.5.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/flask_sqlalchemy
/usr/lib/python3.10/site-packages/flask_sqlalchemy/__init__.py
/usr/lib/python3.10/site-packages/flask_sqlalchemy/__pycache__
/usr/lib/python3.10/site-packages/flask_sqlalchemy/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/flask_sqlalchemy/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/flask_sqlalchemy/__pycache__/_compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/flask_sqlalchemy/__pycache__/_compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/flask_sqlalchemy/__pycache__/model.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/flask_sqlalchemy/__pycache__/model.cpython-310.pyc
/usr/lib/python3.10/site-packages/flask_sqlalchemy/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/flask_sqlalchemy/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/flask_sqlalchemy/_compat.py
/usr/lib/python3.10/site-packages/flask_sqlalchemy/model.py
/usr/lib/python3.10/site-packages/flask_sqlalchemy/utils.py
/usr/share/doc/python3-flask-sqlalchemy
/usr/share/doc/python3-flask-sqlalchemy/CHANGES.rst
/usr/share/doc/python3-flask-sqlalchemy/PKG-INFO
/usr/share/doc/python3-flask-sqlalchemy/README.rst
/usr/share/doc/python3-flask-sqlalchemy/docs
/usr/share/doc/python3-flask-sqlalchemy/docs/Makefile
/usr/share/doc/python3-flask-sqlalchemy/docs/_static
/usr/share/doc/python3-flask-sqlalchemy/docs/_static/flask-sqlalchemy-logo.png
/usr/share/doc/python3-flask-sqlalchemy/docs/_static/flask-sqlalchemy-title.png
/usr/share/doc/python3-flask-sqlalchemy/docs/api.rst
/usr/share/doc/python3-flask-sqlalchemy/docs/binds.rst
/usr/share/doc/python3-flask-sqlalchemy/docs/changelog.rst
/usr/share/doc/python3-flask-sqlalchemy/docs/conf.py
/usr/share/doc/python3-flask-sqlalchemy/docs/config.rst
/usr/share/doc/python3-flask-sqlalchemy/docs/contexts.rst
/usr/share/doc/python3-flask-sqlalchemy/docs/customizing.rst
/usr/share/doc/python3-flask-sqlalchemy/docs/index.rst
/usr/share/doc/python3-flask-sqlalchemy/docs/license.rst
/usr/share/doc/python3-flask-sqlalchemy/docs/make.bat
/usr/share/doc/python3-flask-sqlalchemy/docs/models.rst
/usr/share/doc/python3-flask-sqlalchemy/docs/queries.rst
/usr/share/doc/python3-flask-sqlalchemy/docs/quickstart.rst
/usr/share/doc/python3-flask-sqlalchemy/docs/requirements.txt
/usr/share/doc/python3-flask-sqlalchemy/docs/signals.rst
/usr/share/licenses/python3-flask-sqlalchemy
/usr/share/licenses/python3-flask-sqlalchemy/LICENSE.rst

References

Summary

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