Simple build system for packages
Uses bash scripts for the plans - check out github.com/habitat-sh/core-plans
When making habitat packages you are building packages in isolation, so they don't depend on the build system's libraries tools, and you can make them portable. They are kind of making their own OS packages available.
Any of these packages can run on any linux OS that has a modern kernel on a x86_64 architecture (no love for RPi). Lots of tutorials.
hab studio enter
- what you will see is only what was in the directory that you entered - it will look for a .bah
build (path to hab dir for what you want to build)
hab pkg install results/....
installs into your studio/hab/pkgs/(origin)/(packages)
- Linux system with hab binary (provided via cookbook hopefully) will put packages into
/hab/pkgs/(origin)/(package)
- hab pkg can install via the local .hart file or in the public habitat depo (only if your package is public)
- can also install core packages too:
hab pkg install core/curl
for example hab pkg install core/which
- can also install core packages too:
- Once installed to ways to execute installed packages
hab pkg exec core/which which
- run the package w/o mucking with your systemhab pkg binlink core/which which
- puts which into /bin/- in hab studio put is virtual environment /bin .. in linux you'd need to sudo that
- hab pkg can install via the local .hart file or in the public habitat depo (only if your package is public)
creates a new .hab artifact for you to put up somewhere (s3, your artifactory, or such)