gb is installed using go, but when i hit gb command, "command not found" error coming
Closed this issue · 3 comments
Hello,
I have installed the gb using the go tool. However when I hit the gb command, "command not found" error coming. Should i set any PATH variables ?
Here are the commands, i have executed.
root@DAEDALUS-STUD-U:# go get github.com/constabulary/gb/...# ls
root@DAEDALUS-STUD-U:
Bilder Downloads Musik Schreibtisch Vorlagen
Dokumente go Öffentlich Videos
root@DAEDALUS-STUD-U:# gb#
gb: Befehl nicht gefunden.
root@DAEDALUS-STUD-U:
Is $GOPATH/bin
in your $PATH
?
Many thanks,It worked.
root@DAEDALUS-STUD-U:/go/bin# export PATH=$PATH:/root/go/bin/go/bin# echo $PATH
root@DAEDALUS-STUD-U:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/root/go/bin
root@DAEDALUS-STUD-U:~/go/bin# gb
gb, a project based build tool for the Go programming language.
Usage:
gb command [arguments]
Can you close the issue ?