How To Install python-execnet on CentOS 7

In this tutorial we learn how to install python-execnet on CentOS 7. python-execnet is Elastic Python Deployment

Introduction

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

What is python-execnet

execnet provides a share-nothing model with channel-send/receive communication for distributing execution across many Python interpreters across version, platform and network barriers. It has a minimal and fast API targetting the following uses * distribute tasks to (many) local or remote CPUs * write and deploy hybrid multi-process applications * write scripts to administer multiple environments

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

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

sudo yum -y install python-execnet

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

sudo dnf -y install python-execnet

How To Uninstall python-execnet on CentOS 7

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

sudo dnf remove python-execnet

References

Summary

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