How To Install python-async on CentOS 7

In this tutorial we learn how to install python-async on CentOS 7. python-async is A framework to process interdependent tasks in a pool of workers

Introduction

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

What is python-async

Async aims to make writing asyncronous processing easier. It provides a task-graph with interdependent tasks that communicate using blocking channels, allowing to delay actual computations until items are requested. Tasks will automatically be distributed among 0 or more threads for the actual computation.

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

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

sudo yum -y install python-async

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

sudo dnf -y install python-async

How To Uninstall python-async on CentOS 7

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

sudo dnf remove python-async

References

Summary

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