Checking the availability of RPM on your machine

You must ensure that RPM is installed on your Linux® machine before installing IBM® MQ.

About this task

Important: The installation procedure uses the same RPM packages that are used by the other RPM based distributions. Technologies that convert these RPM packages into other forms, such as alien to convert RPMs to Debian packages, are not compatible with the IBM MQ RPM packages and must not be used.

Procedure

  1. To determine if the correct RPM package is installed on you system use the following command:
    
    dpkg-query -W --showformat '${Status}\n' rpm
    
    If you receive a response that is of the form:
    
    install ok installed
    
    RPM is installed on your system and no further action is required.
    If you receive a response that is of the form:
    
    unknown ok not-installed
    
    RPM is not installed on your system and you must install the RPM package before attempting to install IBM MQ, using the command described in step 2.
  2. Run the following command, using root authority.
    In the example, you obtain root authority using the sudo command:
    
    sudo apt-get install rpm
    
    Attention: If this command does not complete successfully, consult your system administrator for instructions specific to your system on how to install the RPM package.

What to do next

You are now ready to install IBM MQ.