The Linux kernel headers
- 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/linux-headers as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/linux-headers)
pkg_deps=(core/linux-headers)
To install this plan, you should run the following commands to install it.
hab pkg install core/linux-headers
» Installing core/linux-headers ☁ Determining latest version of core/linux-headers in the 'stable' channel ☛ Verifying core/linux-headers/4.19.62/20200305172241 ✓ Installed core/linux-headers/4.19.62/20200305172241 ★ Install of core/linux-headers/4.19.62/20200305172241 complete with 1 new packages installed.
To view the library files you must first search for them with habitat.
hab pkg path core/linux-headers
/hab/pkgs/core/linux-headers/4.19.62/20200305172241
ls /hab/pkgs/core/linux-headers/4.19.62/20200305172241
include/