Manual hugo installation
Ensure Go, C, Git are installed. Then run
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
This will download and build hugo binary. The location of generated hugo binary is $HOME/go/bin/hugo
.
Then copy this to /usr/bin/hugo