Question: how to install mq on ubuntu?
Answer: Open a shell terminal and set your current directory to the location of the installation packages. ... 
Run the mqlicense.sh script. ... 
If this installation is not the first installation of IBM MQ on the system, you must run the crtmqpkg command to create a unique set of packages to install on the system.