How To Install python-twisted-core on CentOS 7

In this tutorial we learn how to install python-twisted-core on CentOS 7. python-twisted-core is Asynchronous networking framework written in Python

Introduction

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

What is python-twisted-core

An extensible framework for Python programming, with special focus on event-based network programming and multiprotocol integration. It is expected that one day the project will expanded to the point that the framework will seamlessly integrate with mail, web, DNS, netnews, IRC, RDBMSs, desktop environments, and your toaster. Twisted Core is used by most of the servers, clients and protocols that are part of other Twisted projects.

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

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

sudo yum -y install python-twisted-core

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

sudo dnf -y install python-twisted-core

How To Uninstall python-twisted-core on CentOS 7

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

sudo dnf remove python-twisted-core

References

Summary

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