Thursday, April 21, 2016

Install Go golang on Raspbian Raspberry PI

Install Go golang on Raspbian Raspberry PI

Solution 1:

# apt-get install golang

Solution 2 (install newer version):

# wget https://storage.googleapis.com/golang/go1.6.1.linux-armv6l.tar.gz

# tar -C /usr/local -xzf go1.6.1.linux-armv6l.tar.gz

# vim ~/.profile

export PATH=$PATH:/usr/local/go/bin
export GOPATH=$HOME/work

Reference:

https://golang.org/dl/

https://golang.org/doc/install

No comments: