Installing missing package in home assistant OS on rasberry pi

I have a home assistant OS install on my rasberry pi, not running in docker, and I’d like to install hacs. The hacs install script requires unzip in order to run, but my haos install appears to not have unzip. Is there a way I can install unzip or other needed packages on my haos install?

You can add packages I think they are apk. But the hacs install script doesn’t usually require it, when you run it with:

wget -O - https://get.hacs.xyz | bash -

Like @mobile.andrew.jones said. There are instructions you know

When I run the wget command you mention on my basic haos install I get “ERROR: ‘unzip’ is not installed”, which is why I created this thread. This is because the install script, which https://get.hacs.xyz redircts to, definitely requires unzip.

When I try to add an apk package, that doesn’t work either:

ash: apk: command not found

Those instructions don’t work on haos on rasberry pi, which is why I created this thread. Unzip is required, but missing.

@nickrout Those instructions don’t work on haos on rasberry pi, which is why I created this thread. Unzip is required, but missing.

try:

apk add unzip

It doesn’t work with the error mentioned above:

-sh: apk: command not found

This is using homeassistant OS on rasberry pi. Perhaps that distro is more stripped down than others.

In which case go in to the configuration of the addon and where it says apks: in the YAML, add unzip

ie change:

apks: []

to:

apks: 
  - unzip

and save and restart the addon

Good to go. Thanks!

1 Like

Tried to use Add-on: Advanced SSH

need to create this file here:

# file
environment
# path
/mnt/data/supervisor/addons/data/{addon_id}_ssh/.ssh

Use user for config with random password, then check logs about shh key created here:

/mnt/data/supervisor/addons/data/

HAOS installed via VM kvm Installing HAOS in a VM on TrueNAS SCALE