이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 2. Installation
This chapter guides you through the steps to install AMQ Python 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 Python, you must install Python in your environment.
2.2. Installing on Red Hat Enterprise Linux 링크 복사링크가 클립보드에 복사되었습니다!
Procedure
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
orworkstation
).Red Hat Enterprise Linux 6
sudo subscription-manager repos --enable=amq-clients-2-for-rhel-6-<variant>-rpms
$ sudo subscription-manager repos --enable=amq-clients-2-for-rhel-6-<variant>-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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>-rpms
Copy 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-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Use the
yum
command to install thepython-qpid-proton
andpython-qpid-proton-docs
packages.sudo yum install python-qpid-proton python-qpid-proton-docs
$ sudo yum install python-qpid-proton python-qpid-proton-docs
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
For more information about using packages, see Appendix B, Using Red Hat Enterprise Linux packages.
2.3. Installing on Microsoft Windows 링크 복사링크가 클립보드에 복사되었습니다!
Procedure
- Open a browser and log in to the Red Hat Customer Portal Product Downloads page at access.redhat.com/downloads.
- Locate the Red Hat AMQ Clients entry in the INTEGRATION AND AUTOMATION category.
- Click Red Hat AMQ Clients. The Software Downloads page opens.
Download the AMQ Clients 2.8.0 Python .whl file for your Python version.
Expand Python 3.6
python_qpid_proton-0.32.0-cp36-cp36m-win_amd64.whl
Python 3.8
python_qpid_proton-0.32.0-cp38-cp38-win_amd64.whl
Open a command prompt window and use the
pip install
command to install the .whl file.Python 3.6
> pip install python_qpid_proton-0.32.0-cp36-cp36m-win_amd64.whl
> pip install python_qpid_proton-0.32.0-cp36-cp36m-win_amd64.whl
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Python 3.8
> pip install python_qpid_proton-0.32.0-cp38-cp38-win_amd64.whl
> pip install python_qpid_proton-0.32.0-cp38-cp38-win_amd64.whl
Copy to Clipboard Copied! Toggle word wrap Toggle overflow