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”Local binpkg creation is disabled by default. Set BUILD_BINPKG=1 in
/etc/zpkg/build.conf to save built packages in /var/cache/zpkg/binpkgs/;
then a binpkg with the same version and USE flags is reused.
ZPKG_NO_BINPKG=1 disables it temporarily.
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.
Overlays (ZIGNOS MENU)
Section titled “Overlays (ZIGNOS MENU)”Packages that are not in the official tree are available from the official ZIGNOS MENU overlay.
sudo zpkg overlay add zignos-menuzpkg overlay listzpkg search <term>Overlays are searched before the official tree, and zpkg search labels them
as zignos-menu/apps. See ZIGNOS MENU (overlays)
for updating and removing, adding your own overlay, priority and signing.
