Chapter 2. Installation
This chapter guides you through the steps required to install AMQ C++ in your environment.
2.1. Prerequisites Copy linkLink copied to clipboard!
To begin installation, use your subscription to access AMQ distribution archives and package repositories.
2.2. Installing on Red Hat Enterprise Linux Copy linkLink copied to clipboard!
AMQ C++ is distributed as a set of RPM packages for Red Hat Enterprise Linux. Follow these steps to install them.
Use the
subscription-managercommand to subscribe to the required package repositories.Red Hat Enterprise Linux 6
sudo subscription-manager repos --enable=a-mq-clients-1-for-rhel-6-server-rpms
$ sudo subscription-manager repos --enable=a-mq-clients-1-for-rhel-6-server-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Red Hat Enterprise Linux 7
sudo subscription-manager repos --enable=a-mq-clients-1-for-rhel-7-server-rpms
$ sudo subscription-manager repos --enable=a-mq-clients-1-for-rhel-7-server-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Use the
yumcommand to install theqpid-proton-cpp-develandqpid-proton-cpp-docspackages.sudo yum install qpid-proton-cpp-devel qpid-proton-cpp-docs
$ sudo yum install qpid-proton-cpp-devel qpid-proton-cpp-docsCopy to Clipboard Copied! Toggle word wrap Toggle overflow
In order to compile programs using the API, you will also need to install gcc-c++, cmake, and make.
sudo yum install gcc-c++ cmake make
$ sudo yum install gcc-c++ cmake make
2.3. Installing on Microsoft Windows Copy linkLink copied to clipboard!
AMQ C++ is distributed as an SDK zip archive for use with Visual Studio. Follow these steps to install it.
- Open a browser and log in to the Red Hat Customer Portal Product Downloads page at access.redhat.com/downloads.
- Locate the Red Hat JBoss AMQ Clients entry in the JBOSS INTEGRATION AND AUTOMATION category.
- Click Red Hat JBoss AMQ Clients. The Software Downloads page opens.
- Download the AMQ C++ Client Windows SDK zip file.
- Extract the file contents into a directory of your choosing by right-clicking on the zip file and selecting Extract All.