I’m trying to get Glances installed on a Home Assistant OS running on a Raspi 4.
I tried the commonly suggested script: curl -L https://bit.ly/glances | /bin/bash
But while it is installing psutil I get an error saying gcc is not installed: error: command 'gcc' failed: No such file or directory
How to proceed?
I tried apt and yum in order to install gcc, but found that they are not working either. I quess the store is the package manager we get on hassos?
People tend to mix up the various options for HA like Docker, supervised or HA OS…
With HA OS the concept behind is that you DON‘T install any components like GCC or additional software but have a managed and updated stable operating system for HA. And the only way to add software is through the Add-On-Store (and HACS, if you want to go down that road…)
Thanks, this cleared it up for me. I managed to get it running, nothing appeared on dashboard, but I can see Glances web ui through the add-on page. Still need to figure later how to get some of that data showing on dashboard and history, but this is enough for today
Thanks. I saw that earlier, but only took a glance at it.
Later on when fiddling with the HA I didn’t find such an addon or integration.
But now I (think I) understand it is built-in.
So Glances without the sensor is good for… glancing at it, through the web ui? If I don’t add the Glances sensor / integration, I can still have a look at it but won’t get a history or “black box data” out after a possible crash.
I just changed to a USB SSD drive on my raspi, in order to make the system more stable. With SD card it lasted only about a week until crash. Good SD card, official supply and all. In case it will still crash at one point, I’d like to see what the circumstances were. But seems system monitor will give me enough info.