Package management
Search and information
Section titled “Search and information”zpkg search networkmanagerzpkg info networkmanagerzpkg owner /usr/bin/nmclizpkg depends networkmanagerzpkg depends lists dependencies in build order. -r shows reverse
dependencies.
Installing
Section titled “Installing”zpkg install vimzpkg install --asdeps some-libraryzpkg install -p vim # Check what will be installed--asdeps records the package as a dependency without adding it to world. A
normal install adds it to world.
Removing
Section titled “Removing”zpkg remove vimThe removal stops if reverse dependencies exist. To force removal, add -f,
but this can break dependencies. zpkg upgrade --prune shows dependencies
that are no longer needed.
Listing and world
Section titled “Listing and world”zpkg listzpkg worldworld is the list of packages you explicitly installed. zpkg upgrade
builds its update plan starting from world.
Updating
Section titled “Updating”zpkg upgrade -pzpkg upgradezpkg install installs or reinstalls a package; zpkg upgrade applies the
channel differences. See Channels and upgrades
for details.
binpkg
Section titled “binpkg”Built packages are cached in /var/cache/zpkg/binpkgs/. A binpkg with the
same version and USE flags is reused. ZPKG_NO_BINPKG=1 disables the cache.
Recipes
Section titled “Recipes”Recipes are in /usr/share/zignos/recipes/<channel>/{core,main,desktop}/.
zpkg sync updates them to the latest tree. See
zpkg design for how to write recipes.
