Hi everybody, I am new here, hello.
I tried to install Hugo on a Raspberry Pi Zero W.
I ve copied the arm32-tar.gz version to /usr/local/bin and tried to start Hugo - but always get the error “Invalid machine command” (Ungültiger Maschinenbefehl in German).
Next try was to install Go and build it from source, but it stopped several times with “go: error loading module requirements” - and I have no idea what to do.
Is Hugo compatibel to Raspi Zero and how can I install it?
Thanks in advance for a hint!
Sorry for my late response. I have been away for a while.
I tried to install Hugo on a Raspberry Pi Zero W.
I’ve copied the arm32-tar.gz version to /usr/local/bin and tried to start Hugo - but always get the error “Invalid machine command”
Raspberry Pi 1 and Raspberry Pi Zero W use an older ARM CPU that does not support hardware floating point instructions. So, in Debian nomenclature, you’ll need to install Hugo compiled for the armel (ARM 32-bit, endian-little, software floating point) architecture.
For Raspberry Pi 2 and above, you may use the arm32-tar.gz, or in Debian nomenclature, armhf (ARM 32-bit hardware floating point).
…
Wait, maybe it is not (just) the hardware floating point, but rather, ARMv7 vs ARMv6 instructions too. The following page may offer more info: https://wiki.debian.org/RaspberryPi