- 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/bash as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/bash)
pkg_deps=(core/bash)
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/bash
» Installing core/bash
☁ Determining latest version of core/bash in the 'stable' channel
☛ Verifying core/bash/5.0.16/20200305233030
...
✓ Installed core/bash/5.0.16/20200305233030
★ Install of core/bash/5.0.16/20200305233030 complete with 1 new packages installed.
hab pkg binlink core/bash
» Binlinking bash from core/bash into /bin
★ Binlinked bash from core/bash/5.0.16/20200305233030 to /bin/bash
...
You can now use the binary as normal:
/bin/bash --help
or bash --help
GNU bash, version 5.0.16(1)-release-(x86_64-pc-linux-gnu)
Usage: bash [GNU long option] [option] ...
bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
...