Extracting hab package contents without installation


#1

There are some times, deep dark times, situations of extreme desperation where the void peers into you and you are incapable of escaping it’s inky beckoning call. In those times you may find yourself in need of a tool. A tool to fight the darkness.

Take this, it’s dangerous to go alone:
tail -n +6 </path/to/hart/file.hart> | xzcat | tar tf -

What this does is takes the hab package, ignores the signature and extracts the hab package contents to $PWD. Giving you all of the content without explicitly installing via the hab binary.


#2

What info does this give you about a package?


#3

Well… NONE OF YOUR BUSINESS.

And by that I mean I’ve updated the forum post to reflect this information.