Uninstalling on Linux

Use the rpm command to remove IBM® MQ Advanced Message Security component on Linux® platforms.

Procedure

  1. Stop all IBM MQ applications associated with the installation you are uninstalling.
  2. For a server installation, end any IBM MQ activity associated with the installation you are uninstalling:
    1. Log in as a user in the group mqm.
    2. Set up your environment to work with the installation you want to uninstall. Enter the following command:
      
      . MQ_INSTALLATION_PATH/bin/setmqenv
      
      where . MQ_INSTALLATION_PATH refers to the location where IBM MQ is installed.
    3. Display the state of all queue managers on the system. Enter the following command:
      
      dspmq -o installation
      
    4. Stop all running queue managers associated with the installation you want to uninstall. Enter the following command for each queue manager:
      
      endmqm QMgrName
      
    5. Stop any listeners associated with the queue managers. Enter the following command for each queue manager:
      
      endmqlsr -m QMgrName
      
  3. Log in as root.
  4. Run the following command:
    
    rpm -e package_name
    
    where package_name is MQSeries®AMS-V.R.M-F
    V
    Represents the version of the product that you are uninstalling
    R
    Represents the release of the product that you are uninstalling
    M
    Represents the modification of the product that you are uninstalling
    F
    Represents the fix pack level of the product that you are uninstalling

Results

The IBM MQ Advanced Message Security component has been uninstalled.