Vault command not found

I am new to Vault, Following Vault official installation steps after installing the go lang getting

ubuntu@ip:/src/github.com/hashicorp/vault$ sudo make dev
==> Checking that build is using go version >= 1.17.5…
/src/github.com/hashicorp/vault/scripts/goversioncheck.sh: line 8: go: command not found
/src/github.com/hashicorp/vault/scripts/goversioncheck.sh: line 12: go: command not found
Vault requires go 1.17.5 to build; found .
make: *** [Makefile:119: prep] Error 1

As you’re trying to compile software (although it is Vault) you’re probably better off posting this in a golang forum, as it really isn’t Vault (application) related.

looks like you are missing the compiler itself. You probably want to apt install golang before trying to compile Go source code?

Thanks for your reply but after making install golang, there is compatibility issue with vault. Vault is looking for v1.17.5 but after making install golang getting go version “go1.13.8 linux/amd64”. I am trying over Ubuntu 20.04 focal fossa.

Thanks

you can find instructions on how to get a specific version and set up a working environment at

Again got this after installing v1.17.7,

==> Checking that build is using go version >= 1.17.5…
/src/github.com/hashicorp/vault/scripts/goversioncheck.sh: line 8: go: command not found
/src/github.com/hashicorp/vault/scripts/goversioncheck.sh: line 12: go: command not found
Vault requires go 1.17.5 to build; found .
make: *** [Makefile:119: prep] Error 1