Closed jibinpjohn closed 7 years ago
Is $GOPATH/bin
in your $PATH
?
Specially add /root/go/bin to your $PATH
On 10 Apr 2017, at 21:13, jibinpjohn notifications@github.com wrote:
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/... root@DAEDALUS-STUD-U:# ls Bilder Downloads Musik Schreibtisch Vorlagen Dokumente go Öffentlich Videos root@DAEDALUS-STUD-U:# gb gb: Befehl nicht gefunden. root@DAEDALUS-STUD-U:#
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Many thanks,It worked.
root@DAEDALUS-STUD-U:~/go/bin# export PATH=$PATH:/root/go/bin root@DAEDALUS-STUD-U:~/go/bin# echo $PATH /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 ?
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/... root@DAEDALUS-STUD-U:~# ls Bilder Downloads Musik Schreibtisch Vorlagen Dokumente go Öffentlich Videos root@DAEDALUS-STUD-U:~# gb gb: Befehl nicht gefunden. root@DAEDALUS-STUD-U:~#