I was finally able to instal Go on ubuntu but not having issues installing the package
root@ubuntu:~/go/src/github.com/FiloSottile/Heartbleed# go get github.com/FiloSottile/Heartbleed
go: missing Git command. See http://golang.org/s/gogetcmd
package github.com/FiloSottile/Heartbleed: exec: "git": executable file not found in $PATH
root@ubuntu:~/go/src/github.com/FiloSottile/Heartbleed# go install github.com/FiloSottile/Heartbleed
can't load package: package github.com/FiloSottile/Heartbleed: cannot find package "github.com/FiloSottile/Heartbleed" in any of:
/usr/lib/go/src/pkg/github.com/FiloSottile/Heartbleed (from $GOROOT)
/root/go/src/github.com/FiloSottile/Heartbleed/src/github.com/FiloSottile/Heartbleed (from $GOPATH)
Can anyone help. I am very new to linux world and perhaps I am missing something. After googling some more I found out that i need to use the export command and I tried with heartbleed and is failing, below is just an example
Hi,
I was finally able to instal Go on ubuntu but not having issues installing the package
root@ubuntu:~/go/src/github.com/FiloSottile/Heartbleed# go get github.com/FiloSottile/Heartbleed go: missing Git command. See http://golang.org/s/gogetcmd package github.com/FiloSottile/Heartbleed: exec: "git": executable file not found in $PATH root@ubuntu:~/go/src/github.com/FiloSottile/Heartbleed# go install github.com/FiloSottile/Heartbleed can't load package: package github.com/FiloSottile/Heartbleed: cannot find package "github.com/FiloSottile/Heartbleed" in any of: /usr/lib/go/src/pkg/github.com/FiloSottile/Heartbleed (from $GOROOT) /root/go/src/github.com/FiloSottile/Heartbleed/src/github.com/FiloSottile/Heartbleed (from $GOPATH)
Can anyone help. I am very new to linux world and perhaps I am missing something. After googling some more I found out that i need to use the export command and I tried with heartbleed and is failing, below is just an example
e:g export GOPATH=~/golang/packages1/