How To Install czmq on CentOS 7

In this tutorial we learn how to install czmq on CentOS 7. czmq is High-level C binding for 0MQ (ZeroMQ)

Introduction

In this tutorial we learn how to install czmq on CentOS 7.

What is czmq

CZMQ has the following goals i) To wrap the ØMQ core API in semantics that are natural and lead to shorter, more readable applications. ii) To hide the differences between versions of ØMQ. iii) To provide a space for development of more sophisticated API semantics.

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

Install czmq on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install czmq using yum by running the following command:

sudo yum -y install czmq

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

sudo dnf -y install czmq

How To Uninstall czmq on CentOS 7

To uninstall only the czmq package we can use the following command:

sudo dnf remove czmq

References

Summary

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