Build Hugo Extended for Linux ARM

As of today, there is no official build for Hugo extended for Linux ARM. Therefore, we need to build it ourselves. Prerequisite: build-essential package go1.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....

December 27, 2020 · 1 min · 94 words · kenno

How I Update Hugo on My Machine

I run hugo hot off the development branch. Periodically I need to checkout the code and re-build it. I find myself having to google to do this almost all the time. So today, I’m gonna document this here so I can quickly look it up next time I want to update hugo. The hugo code has already be cloned to the following location in my desktop: mkdir -p $HOME/dev/go cd $HOME/dev/go git clone https://github....

August 25, 2019 · 1 min · 119 words · kenno