Chapter 2. Installation

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

2.1. Prerequisites

To begin installation, use your subscription to access AMQ distribution files and repositories.

2.2. Installing on Red Hat Enterprise Linux

AMQ Python is distributed as a set of RPM packages for Red Hat Enterprise Linux. Follow these steps to install them.

  1. Use the subscription-manager command to subscribe to the required package repositories.

    Red Hat Enterprise Linux 6

    $ sudo subscription-manager repos --enable=amq-clients-2-for-rhel-6-server-rpms

    Red Hat Enterprise Linux 7

    $ sudo subscription-manager repos --enable=amq-clients-2-for-rhel-7-server-rpms

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

    $ sudo yum install python-qpid-proton python-qpid-proton-docs