Install MQ onto Ubuntu 10.4 (or greater)

Ubuntu is not officially supported on MQ but it runs fine except you need a few tweeks to get it installed. As ubuntu normally uses Apt-Get to install packages we need to install the rpm packages. This lets you use the rpm command like you would on other linux OSs

sudo apt-get install rpm

Download the install file and extract a temp directory

tar -zxvf CZ4VEML.tar.gz -C /InstallFiles/MQ7010

Accept the license agreement using the normal method

sudo ./

Unless you need all the languange messages these can be deleted

sudo rm /InstallFiles/MQ7010/MQSeriesMsg_*

You can now install the other files using rpm

sudo rpm -ivh –nodeps –force-debian MQSeriesClient-7.0.1-0.x86_64.rm
sudo rpm -ivh –nodeps –force-debian MQSeriesJava-7.0.1-0.x86_64.rpm
sudo rpm -ivh –nodeps –force-debian MQSeriesKeyMan-7.0.1-0.x86_64.rpm
sudo rpm -ivh –nodeps –force-debian MQSeriesMan-7.0.1-0.x86_64.rpm
sudo rpm -ivh –nodeps –force-debian MQSeriesRuntime-7.0.1-0.x86_64.rpm
sudo rpm -ivh –nodeps –force-debian MQSeriesSamples-7.0.1-0x86_64i386.rpm
sudo rpm -ivh –nodeps –force-debian MQSeriesServer-7.0.1-0.x86_64.rpm
sudo rpm -ivh –nodeps –force-debian MQSeriesSDK-7.0.1-0.x86_64.rpm
sudo rpm -ivh –nodeps –force-debian gsk7bas-7.0-4.23.x86_64.rpm

You can now start using the MQ server like you normally would. If you would like to install the GUI then this can be done as follows

sudo rpm -ivh –nodeps –force-debian MQSeriesJRE-7.0.1-0.i386.rpm
sudo rpm -ivh –nodeps –force-debian MQSeriesEclipseSDK33-7.0.1-0.i386.rpm
sudo rpm -ivh –nodeps –force-debian MQSeriesConfig-7.0.1-0.i386.rpm

Some of the eclipse plugins don’t get copied into the correct folder so this is a manual fix

sudo cp -r /opt/mqm/eclipse/* /opt/mqm/eclipseSDK33/eclipse
sudo chown -R mqm:mqm /opt/mqm

To start MQ GUI (eclipse) run the following command



If you need to uninstall MQ Uninstall MQSeries then use the following commands

sudo rpm -qa | grep MQSeries | xargs sudo rpm -e –noscripts
sudo rpm -qa | grep gsk7bas | xargs sudo rpm -e –noscripts


Leave a Reply

Your email address will not be published.