Hugo Installation
·52 words·1 min
As of some SEGFAULT errors on the actual Fedora package of Hugo I decided to install “from source”.
$ CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
Make sure the variables GOPATH and GOBIN are set.
From my .zprofile file:
[[ -d $HOME/go ]] && export GOPATH="${HOME}/go"
[[ -d ${GOPATH}/bin ]] && export GOBIN="${GOPATH}/bin"