How To Install python2-kombu on CentOS 7

In this tutorial we learn how to install python2-kombu on CentOS 7. python2-kombu is An AMQP Messaging Framework for Python

Introduction

In this tutorial we learn how to install python2-kombu on CentOS 7.

What is python2-kombu

AMQP is the Advanced Message Queuing Protocol, an open standard protocol for message orientation, queuing, routing, reliability and security. One of the most popular implementations of AMQP is RabbitMQ. The aim of Kombu is to make messaging in Python as easy as possible by providing an idiomatic high-level interface for the AMQP protocol, and also provide proven and tested solutions to common messaging problems.

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

Install python2-kombu on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install python2-kombu using yum by running the following command:

sudo yum -y install python2-kombu

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

sudo dnf -y install python2-kombu

How To Uninstall python2-kombu on CentOS 7

To uninstall only the python2-kombu package we can use the following command:

sudo dnf remove python2-kombu

References

Summary

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