Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.70. Method: listPackages

Description

List the installed packages for a given system. The attribute installtime is returned since API version 10.10.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • int serverId
Returns

The following return values are available for this method:

  • array:
    • struct - package
      • int id
      • string name
      • string version
      • string release
      • string epoch
      • string arch
      • date installtime - returned only if known