Go on NetBSD

Go on NetBSD is not stable as of Go 1.8/Go 1.9. See https://tip.golang.org/doc/go1.9#known_issues and https://github.com/golang/go/issues/20852

Kernel versionArchitecturesInitial support versionFinal support version
7.0 or aboveamd64, arm, 386Go 1.3 *
6.0 through 6.1amd64, arm, 386Go 1.3 *
5.0 through 5.2 (EOL)amd64, 386Go 1Go 1.2.2

* Go 1.5 or above is recommended.

Preparing NetBSD for Go

  • install NetBSD 6.0 (remember to install pkgsrc in the last step)
  • install shells/bash and devel/git (do make package-install clean in /usr/pkgsrc/shells/bash and /usr/pkgsrc/devel/git.
    • Using binary packages: pkgin install bash git