Check your system for an existing Message Queue installation.
Enter the command
imqbrokerd -version
If an earlier version of Message Queue is already installed, the version number is displayed.
If no previous Message Queue installation is present, you can proceed to install Message Queue 3.7 UR1, as described in Installation Procedure.
If you do find an existing Message Queue installation, go on to the next step.
Become root.
su root
Enter you root password.
(Optional) Migrate data files from the existing installation.
If the existing installation is of Message Queue Version 3.5 or earlier and you want to preserve its existing data files, use the command
./mqmigrate
to migrate the installation's broker configuration files, persistent data, and security-related files to their proper locations for your planned Message Queue 3.7 UR1 installation. (This step is not necessary if the existing installation is of Message Queue 3.6 or later.)
If you are migrating from a Message Queue 3.0.x installation located in a base directory other than the default (/opt), use the mqmigrate command's -basedir option to specify the alternate base directory. For example, if the existing installation resides in a base directory named /export, use the following command to migrate its data files.
./mqmigrate -basedir /export
If you do not know the correct base directory, you can find it by searching for the Message Queue imqbrokerd executable and noting its root installation directory.
Remove the existing Message Queue installed software.
Issue the following command(s) in the following order:
For Message Queue Version 3.5 or earlier:
rpm -e imq-ent
rpm -e imq
For Message Queue version 3.6 or 3.7:
List Message Queue installed packages using the following command.
rpm -qa | grep mq
Remove listed packages using the following syntax:
rpm -e pack1 [[,pack2]...]