- 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/xz as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/xz)
pkg_deps=(core/xz)
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
» Installing core/xz
☁ Determining latest version of core/xz in the 'stable' channel
☛ Verifying core/xz/5.2.4/20200306001321
...
✓ Installed core/xz/5.2.4/20200306001321
★ Install of core/xz/5.2.4/20200306001321 complete with 1 new packages installed.
hab pkg binlink core/xz
» Binlinking xz from core/xz into /bin
★ Binlinked xz from core/xz/5.2.4/20200306001321 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
...