As of today, there is no official build for Hugo extended for Linux ARM. Therefore, we need to build it ourselves.
Prerequisite:
build-essential
packagego1.15.3.linux-arm64
compiler
export VERSION=0.79.1
curl -O -L https://github.com/gohugoio/hugo/archive/v$VERSION.tar.gz
tar -xzf v$VERSION.tar.gz
cd hugo-$VERSION
go build --tags extended
sudo cp hugo /usr/local/bin
Hugo Static Site Generator v0.79.1/extended linux/arm64 BuildDate: unknown
I built Hugo on Odroid C2, and it took over 10 minutes. I think a better way is to cross build Hugo on an x64 machine; but I haven’t tried it yet.
Reference: