libyaml is a YAML parser and emitter library. See documentation
- The Core Planners: chef-core-planners@chef.io
Library package
Library packages can be set as runtime or build time dependencies, however they are typically used as buildtime dependencies. See Defining your dependencies for more information.
To add core/libyaml as a dependency, you can add one of the following to your plan file.
pkg_build_deps=(core/libyaml)
pkg_deps=(core/libyaml)
To install this plan, run the following command:
hab pkg install core/libyaml
hab pkg install core/libyaml
» Installing core/libyaml
☁ Determining latest version of core/libyaml in the 'stable' channel
→ Found newer installed version (core/libyaml/0.1.7/20200924101247) than remote version (core/libyaml/0.1.7/20200404040327)
→ Using core/libyaml/0.1.7/20200924101247
★ Install of core/libyaml/0.1.7/20200924101247 complete with 0 new packages installed.
To view the library files first get the habitat installation directory
hab pkg path core/libyaml
/hab/pkgs/core/libyaml/0.1.7/20200924101247
Then list the libraries, for example:
ls -1 $(hab pkg path core/libyaml)/lib
libyaml-0.so.2
libyaml-0.so.2.0.5
libyaml.a
libyaml.la
libyaml.so
pkgconfig