How To Install python-application on CentOS 7

In this tutorial we learn how to install python-application on CentOS 7. python-application is Basic building blocks for python applications

Introduction

In this tutorial we learn how to install python-application on CentOS 7.

What is python-application

This package is a collection of modules that are useful when building python applications. Their purpose is to eliminate the need to divert resources into implementing the small tasks that every application needs to do in order to run successfully and focus instead on the application logic itself.

We can use yum or dnf to install python-application on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-application.

Install python-application 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-application using yum by running the following command:

sudo yum -y install python-application

Install python-application 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-application using dnf by running the following command:

sudo dnf -y install python-application

How To Uninstall python-application on CentOS 7

To uninstall only the python-application package we can use the following command:

sudo dnf remove python-application

References

Summary

In this tutorial we learn how to install python-application on CentOS 7 using yum and dnf.