Skip to content
This repository has been archived by the owner on Aug 8, 2022. It is now read-only.

chef-base-plans/coreutils

Repository files navigation

Build Status

coreutils

Basic file, shell and text manipulation utilities of the GNU operating system.

Maintainers

Type of Package

Binary package

Use as Dependency

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.

Buildtime Dependency

pkg_build_deps=(core/coreutils)

Runtime Depdendency

pkg_deps=(core/coreutils)

Use as Tool

Installation

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/coreutils

» Installing core/coreutils

☁ Determining latest version of core/coreutils in the 'stable' channel

☛ Verifying core/coreutils/8.30/20200305231640

...

✓ Installed core/coreutils/8.30/20200305231640

★ Install of core/coreutils/8.30/20200305231640 complete with 1 new packages installed.

hab pkg binlink core/coreutils

» Binlinking b2sum from core/coreutils into /bin

★ Binlinked b2sum from core/coreutils/8.30/20200305231640 to /bin/b2sum

...

Using an example binary

You can now use the binary as normal:

/bin/ls --help or ls --help

Usage: /bin/ls [OPTION]... [FILE]...
List information about the FILEs (the current directory by default).
Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.

Mandatory arguments to long options are mandatory for short options too.
  -a, --all                  do not ignore entries starting with .
  -A, --almost-all           do not list implied . and ..
...