I've installed golang-stable using the Go Language ppa for Ubuntu.
The Official Installation Instructions seem to ignore this option, and don't mention it at all.
My question is: does anyone know if anything else is needed after doing the sudo apt-get
for this package? In particular, do I have to manually set any environment variables?
I'm asking because I've been able to "go get
" Go-SDL, but when I try to execute its test I get the following error:
$ ./test
panic: No such environment variable: GOPATH
This kind of confuses me. Shouldn't that variable be initialized already? Especially given that I have been able to compile and install a library.