Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install Golang 1.7 on Raspberry Pi
tar -C /usr/local -xzf go1.7.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin
Copy link

simoncos commented Sep 21, 2017

If already installed golang with apt-get, then need:

sudo apt remove golang
sudo apt-get autoremove
source .profile # need first add "export PATH=$PATH:/usr/local/go/bin:~/go/bin" to it

Copy link

Yarpii-Rocks commented Dec 25, 2017

Version 1.9.2

sudo tar -C /usr/local -xzf go1.9.2.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin

Copy link

ali2077 commented Aug 31, 2018

can you create independent /go/bin folders to link an entirely new project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment