The go command works, but when I try to build any golang code, it gives me : [image: go-err.png]
I downloaded go1.12 linux/amd64 and extracted it to /usr/local/ I also added these to .bashrc export GOPATH = $HOME/go export PATH=$PATH:$GOPATH/bin export also PATH=$PATH:/usr/local/go/bin Thanks On Fri, 8 Mar 2019 at 16:08, Ian Lance Taylor <i...@golang.org> wrote: > On Fri, Mar 8, 2019 at 5:09 AM Nada Saif <nada.sa...@gmail.com> wrote: > > > > Hi, I am installing a dev environment on ubuntu vm. > > The installation went well but at the end I got a messsage "/bin/sh :go > not found" > > > > Go is installed, I also added the path to .bashrc file > > > > go version > > go version go1.12 linux/amd64 > > > > which go > > /usr/local/go/bin/go > > > > Can you please suggest ways to resolve this, I have spent long hours > troubleshooting :(. > > Are you having trouble running the go command yourself, or are you > reporting a problem building the Go installation? If the problem is > with building the Go installation, please tell us exactly what you did > and exactly what happened. Thanks. > > Ian > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.