Ubuntu: Install vFabric RabbitMQ Java Client Libraries from the vFabric Debian Repository

vFabric RabbitMQ provides client libraries for Java. The Java client library allows Java code to interface to AMQP servers, such as vFabric RabbitMQ Server. The library is platform-neutral. The Java client library is distributed as Debian package for Ubuntu computers.

Prerequisites

If you have not already done so, install the vFabric Debian package repository from which you will install the Java client library. See Install the vFabric Debian Package Repository.

Procedure

  1. From the Ubuntu computer on which you will install the Java libraries, log in as the root user (or as a user who has sudo privileges) and start a terminal.

  2. Execute the following apt-get command:

    prompt# apt-get install vfabric-rabbitmq-java-client-bin

    The apt-get command begins the install process, resolves dependencies, and displays the packages it will install.

    If necessary, use sudo to run the preceding command if you are not logged in as the root user:

    prompt$ sudo apt-get install vfabric-rabbitmq-java-client-bin

    The apt-get install command installs the vFabric RabbitMQ Java libraries into the /opt/vmware/rabbitmq-java-client directory and sets the owner of all the sub-directories and files to root:root.

What to do next