How To Install python36-flask on CentOS 7
Introduction
In this tutorial we learn how to install python36-flask
on CentOS 7.
What is python36-flask
Flask is called a “micro-framework” because the idea to keep the core simple but extensible. There is no database abstraction layer, no form validation or anything else where different libraries already exist that can handle that. However Flask knows the concept of extensions that can add this functionality into your application as if it was implemented in Flask itself. There are currently extensions for object relational mappers, form validation, upload handling, various open authentication technologies and more. Python 3 version.
We can use yum
or dnf
to install python36-flask
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python36-flask.
Install python36-flask on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python36-flask
using yum
by running the following command:
Install python36-flask 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.
After updating yum database, We can install python36-flask
using dnf
by running the following command:
How To Uninstall python36-flask on CentOS 7
To uninstall only the python36-flask
package we can use the following command:
References
Summary
In this tutorial we learn how to install python36-flask
on CentOS 7 using yum
and dnf
.