You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/
The text was updated successfully, but these errors were encountered:
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/src/github.com/FiloSottile/Heartbleed# go install github.com/FiloSottile/Heartbleedgo: missing Git command. See http://golang.org/s/gogetcmd
package github.com/FiloSottile/Heartbleed: exec: "git": executable file not found in $PATH
root@ubuntu:
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/
The text was updated successfully, but these errors were encountered: