此内容没有您所选择的语言版本。
Chapter 2. Installation
This chapter guides you through the steps to install AMQ Ruby in your environment.
2.1. Prerequisites 复制链接链接已复制到粘贴板!
- You must have a subscription to access AMQ release files and repositories.
- To install packages on Red Hat Enterprise Linux, you must register your system.
- To use AMQ Ruby, you must install Ruby in your environment.
2.2. Installing on Red Hat Enterprise Linux 复制链接链接已复制到粘贴板!
Procedure
Use the
subscription-managercommand to subscribe to the required package repositories. If necessary, replace<variant>with the value for your variant of Red Hat Enterprise Linux (for example,serverorworkstation).Red Hat Enterprise Linux 7
sudo subscription-manager repos --enable=amq-clients-2-for-rhel-7-<variant>-rpms
$ sudo subscription-manager repos --enable=amq-clients-2-for-rhel-7-<variant>-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Red Hat Enterprise Linux 8
sudo subscription-manager repos --enable=amq-clients-2-for-rhel-8-x86_64-rpms
$ sudo subscription-manager repos --enable=amq-clients-2-for-rhel-8-x86_64-rpmsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Use the
yumcommand to install therubygem-qpid_protonandrubygem-qpid_proton-docpackages.sudo yum install rubygem-qpid_proton rubygem-qpid_proton-doc
$ sudo yum install rubygem-qpid_proton rubygem-qpid_proton-docCopy to Clipboard Copied! Toggle word wrap Toggle overflow
For more information about using packages, see Appendix B, Using Red Hat Enterprise Linux packages.