How To Install python-flask-admin on CentOS 7
Introduction
In this tutorial we learn how to install python-flask-admin
on CentOS 7.
What is python-flask-admin
Flask-Admin is advanced, extensible and simple to use administrative interface building extension for Flask framework. It comes with batteries included SQLAlchemy, MongoEngine, MongoDB and Peewee ORMs, simple file management interface and a lot of usage samples. You’re not limited by the default functionality - instead of providing simple scaffolding for the ORM models, Flask-Admin provides tools that can be used to construct administrative interfaces of any complexity, using a consistent look and feel.
We can use yum
or dnf
to install python-flask-admin
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-flask-admin.
Install python-flask-admin on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install python-flask-admin
using yum
by running the following command:
sudo yum -y install python-flask-admin
Install python-flask-admin on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install python-flask-admin
using dnf
by running the following command:
sudo dnf -y install python-flask-admin
How To Uninstall python-flask-admin on CentOS 7
To uninstall only the python-flask-admin
package we can use the following command:
sudo dnf remove python-flask-admin
References
Summary
In this tutorial we learn how to install python-flask-admin
on CentOS 7 using yum
and dnf
.