I've installed the golang package on Fedora 19.Go also needs the the GOPATH variable. I added to my ~/.bashrc:GOPATH=$HOME/.go/But go env didn't see it (after the source ~/.bashrc):GOARCH=386GOBIN=GOCHAR=8GOEXE=GOHOSTARCH=386GOHOSTOS=linuxGOOS=linuxGOPATH=GORACE=GOROOT=/usr/lib/golangGOTOOLDIR=/usr/lib/golang/pkg/tool/linux_386CC=gccGOGCCFLAGS=-g -O2 -fPIC -m32 -pthreadCGO_ENABLED=1Why it didn't see my GOPATH?PS: echo $GOPATH:/home/m0nhawk/.go/
Can't get golang working on Fedora 19
software installation;bashrc
It seems you need to export the variable for it to be visible to go env:export GOPATH=$HOME/.goshould work.