Install Golang 1.9:
wget https://storage.googleapis.com/golang/go1.9.linux-armv6l.tar.gz
sudo tar -C /usr/local -xzf go1.9.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin # put into ~/.profile
If already installed old golang with apt-get:
sudo apt remove golang
sudo apt-get autoremove
source .profile
Test:
go version
Ok, i have tried to install go (golang) but these short instructions do not help me.
May you can give me a simple short instruction what to write wehre. I guess i have to modifi .profile but how?!?
I get really confused because I only see wenn using "go env" : GOBIN = "", GOEXE="", GOPATH="", GOROOT="/home/pi/go" but i cannot change GOPATH.
So please be so kind and give some more information than only 3 single lines for some really studip or new raspberrypi people.
I try to learn but so far I miss a good explanation or skript from all the experts.