YaST包绑定
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:
- Development version (SVN Trunk) - yast2-pkg-bindings-2.16.*
- openSUSE 10.3 - yast2-pkg-bindings-2.15.*
How To / Examples
Here are Examples how to solve some typical problems related to package management in YCP code.