Name

Pkg::GetPackages — Get list of packages (installed, selected, available)

Synopsis

list<string> GetPackages ( symbol  'which' ,
  boolean  names_only );

Parameters

symbol 'which'

defines which packages are returned: `installed all installed packages, `selected returns all selected but not yet installed packages, `available returns all available packages (from the installation source)

boolean names_only

If true, return package names only

Return

list<string>

Description

return list of packages (["pkg1", "pkg2", ...] if names_only==true, ["pkg1 version release arch", "pkg1 version release arch", ... if names_only == false]