搜索

此内容没有您所选择的语言版本。

Chapter 2. Installation

download PDF

This chapter guides you through the steps to install AMQ C++ in your environment.

2.1. Prerequisites

  • To build programs using AMQ C++ on Red Hat Enterprise Linux, you must install the gcc-c++, cmake, and make packages.
  • To build programs using AMQ C++ on Microsoft Windows, you must install Visual Studio.

2.2. Installing on Red Hat Enterprise Linux

Procedure

  1. Use the subscription-manager command to subscribe to the required package repositories. If necessary, replace <variant> with the value for your variant of Red Hat Enterprise Linux (for example, server or workstation).

    Red Hat Enterprise Linux 6

    $ sudo subscription-manager repos --enable=amq-clients-2-for-rhel-6-<variant>-rpms

    Red Hat Enterprise Linux 7

    $ sudo subscription-manager repos --enable=amq-clients-2-for-rhel-7-<variant>-rpms

    Red Hat Enterprise Linux 8

    $ sudo subscription-manager repos --enable=amq-clients-2-for-rhel-8-x86_64-rpms

  2. Use the yum command to install the qpid-proton-cpp-devel and qpid-proton-cpp-docs packages.

    $ sudo yum install qpid-proton-cpp-devel qpid-proton-cpp-docs

For more information about using packages, see Appendix B, Using Red Hat Enterprise Linux packages.

2.3. Installing on Microsoft Windows

Procedure

  1. Open a browser and log in to the Red Hat Customer Portal Product Downloads page at access.redhat.com/downloads.
  2. Locate the Red Hat AMQ Clients entry in the INTEGRATION AND AUTOMATION category.
  3. Click Red Hat AMQ Clients. The Software Downloads page opens.
  4. Download the AMQ Clients 2.8.0 C++ .zip file.
  5. Extract the file contents into a directory of your choosing by right-clicking on the zip file and selecting Extract All.

When you extract the contents of the .zip file, a directory named amq-clients-2.8.0-cpp-win is created. This is the top-level directory of the installation and is referred to as <install-dir> throughout this document.

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.