YaST包绑定

Jump to: navigation, search

Template:Traslation

Description

The Package Bindings (or Pkg Bindings) library is a small layer between the package management library (Libzypp) and YaST YCP interpreter. The task is to convert types between libypp (C++) and YCP interpreter (YCP data types) and to hide implementation details of the package management and provide simple and easy to use API.

The Pkg Bindings are located in yast2-pkg-bindings RPM package.


Documentation for Developers

The Pkg Bindings provide package management functions in YCP name space Pkg::. See the documentation in yast2-pkg-bindings-devel-doc RPM package or generate the documentation from the sources (in doc subdirectory).

Major changes

Links to documents describing the major changes in the respective product/release:


How To / Examples

Here are Examples how to solve some typical problems related to package management in YCP code.