YaST2 Developers Documentation: yast2

yast2

modules/Package.ycp
Packages manipulation
  • Martin Vidner
  • Michal Svec

This module has an unstable interface.

The documentation is maintained at .../docs/index.html.

Imports

  • Mode
  • PackageAI
  • PackageSystem

Includes

  • packages/common.ycp

Global Functions

global DoInstall (list<string> packages) -> boolean

Install list of packages

Parameters:
packages list of packages to be installed
Return value:
True on success
global DoRemove (list<string> packages) -> boolean

Remove list of packages

Parameters:
packages list of packages to be removed
Return value:
True on success
global DoInstallAndRemove (list<string> toinstall, list<string> toremove) -> boolean

Install and Remove list of packages in one go

Parameters:
toinstall list of packages to be installed
toremove list of packages to be removed
Return value:
True on success