- The Core Planners: chef-core-planners@chef.io
Binary package
Binary packages can be set as runtime or build time dependencies. See Defining your dependencies for more information.
To add core/PKG as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/xz-musl)
pkg_deps=(core/xz-musl)
To install this plan, you should run the following commands to first install, and then link the binaries this plan creates.
hab pkg install core/xz-musl
» Installing core/xz-musl
☁ Determining latest version of core/xz-musl in the 'stable' channel
☛ Verifying core/xz-musl/5.2.4/20200306012243
...
✓ Installed core/xz-musl/5.2.4/20200306012243
★ Install of core/xz-musl/5.2.4/20200306012243 complete with 2 new packages installed.
hab pkg binlink core/xz-musl
» Binlinking xz from core/xz-musl into /bin
★ Binlinked xz from core/xz-musl/5.2.4/20200306012243 to /bin/xz
...
You can now use the binary as normal:
/bin/xz --help
or xz --help
Usage: xz [OPTION]... [FILE]...
Compress or decompress FILEs in the .xz format.
-z, --compress force compression
-d, --decompress force decompression
-t, --test test compressed file integrity
-l, --list list information about .xz files
-k, --keep keep (don't delete) input files
-f, --force force overwrite of output file and (de)compress links
-c, --stdout write to standard output and don't delete input files
...