Multi-format archive and compression library
- 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/libarchive-musl as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/libarchive-musl)
pkg_deps=(core/libarchive-musl)
To install this plan, you should run the following commands to install it.
hab pkg install core/libarchive-musl
» Installing core/libarchive-musl
☁ Determining latest version of core/libarchive-musl in the 'stable' channel
↓ Downloading core/libarchive-musl/3.4.2/20200504153655
✓ Installed core/libarchive-musl/3.4.2/20200504153655
★ Install of core/libarchive-musl/3.4.2/20200504153655 complete with 6 new packages installed.
To view the library files you must first search for them with habitat.
hab pkg path core/libarchive-musl
/hab/pkgs/core/libarchive-musl/3.4.2/20200504153655
ls /hab/pkgs/core/libarchive-musl/3.4.2/20200504153655
bin/
include/
lib/
share/
Although libarchive-musl is listed here as a library, a bin folder exists and contains executable binaries, however as these are not binlinked at install time, it has been clasified as a library plan.
Binaries included within the bin/ directory are tested.