Sometimes I do wonder where will be the installation path is? There is a shortcut for this, issue a command dspmqver, it shows me the detail information about WebSphere MQ. From there I can see InstPath showing where this tool is installed:
Name: WebSphere MQ Version: 188.8.131.52 Level: p800-002-150303.DE BuildType: IKAP - (Production) Platform: WebSphere MQ for Linux (x86-64 platform) Mode: 64-bit O/S: Linux 3.13.0-62-generic InstName: Installation1 InstDesc: Primary: No InstPath: /opt/mqm DataPath: /var/mqm MaxCmdLevel: 801 LicenseType: DeveloperOr maybe I have overlooked, the documentation did mention where does the MQ_INSTALLATION_PATH is. Below is the text extract from the guide:
The location where WebSphere MQ is installed is known as the MQ_INSTALLATION_PATH. The default location for the WebSphere MQ product code is shown in the following table:
Platform Installation Location Linux, HP-UX, and Solaris /opt/mqm AIX® /usr/mqm Windows 32-bit C:\Program Files\IBM\WebSphere MQ Windows 64-bit C:\Program Files (x86)\IBM\WebSphere MQ
On UNIX and Linux systems, working data is stored in /var/mqm, but you cannot change this location.