How To Install activemq-cpp-devel on CentOS 7

In this tutorial we learn how to install activemq-cpp-devel on CentOS 7. activemq-cpp-devel is C++ implementation header files for JMS-like messaging

Introduction

In this tutorial we learn how to install activemq-cpp-devel on CentOS 7.

What is activemq-cpp-devel

activemq-cpp is a JMS-like API for C++ for interfacing with Message Brokers such as Apache ActiveMQ. C++ messaging service helps to make your C++ client code much neater and easier to follow. To get a better feel for CMS try the API Reference. ActiveMQ-CPP is a client only library, a message broker such as Apache ActiveMQ is still needed for your clients to communicate. activemq-cpp-devel contains development header files.

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

Install activemq-cpp-devel on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install activemq-cpp-devel using yum by running the following command:

sudo yum -y install activemq-cpp-devel

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

sudo dnf -y install activemq-cpp-devel

How To Uninstall activemq-cpp-devel on CentOS 7

To uninstall only the activemq-cpp-devel package we can use the following command:

sudo dnf remove activemq-cpp-devel

References

Summary

In this tutorial we learn how to install activemq-cpp-devel on CentOS 7 using yum and dnf.