Core Planners: [email protected]
Binary package
Binary packages can be set as runtime or build time dependencies. See Defining your dependencies for more information.
To add core/busybox-static as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/busybox-static)
pkg_deps=(core/busybox-static)
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/busybox-static
» Installing core/busybox-static
☁ Determining latest version of core/busybox-static in the 'stable' channel
☛ Verifying core/busybox-static/1.31.0/20200306011713
...
✓ Installed core/busybox-static/1.31.0/20200306011713
★ Install of core/busybox-static/1.31.0/20200306011713 complete with 1 new packages installed.
hab pkg binlink core/busybox-static
» Binlinking vi from core/busybox-static into /bin
★ Binlinked vi from core/busybox-static/1.31.0/20200306011713 to /bin/vi
...
You can now use the binary as normal:
/bin/vi --help
or vi --help
M - Vi IMproved 8.1 (2018 May 18, compiled Mar 6 2020 01:54:16)
Usage: vim [arguments] [file ..] edit specified file(s)
or: vim [arguments] - read text from stdin
or: vim [arguments] -t tag edit file where tag is defined
or: vim [arguments] -q [errorfile] edit file with first error
..