Multi-format archive and compression library
- The Core Planners: [email protected]
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 as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/libarchive)
pkg_deps=(core/libarchive)
To install this plan, you should run the following commands to install it.
hab pkg install core/libarchive
» Installing core/libarchive
☁ Determining latest version of core/libarchive in the 'stable' channel
→ Using core/libarchive/3.4.2/20200504153654
★ Install of core/libarchive/3.4.2/20200504153654 complete with 0 new packages installed.
To view the library files you must first search for them with habitat.
hab pkg path core/libarchive
/hab/pkgs/core/libarchive/3.4.2/20200504153654
ls /hab/pkgs/core/libarchive/3.4.2/20200504153654
bin/
include/
lib/
share/
Although libarchive 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.