Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Go Lang on Raspberry Pi
cd $HOME
FileName='go1.13.4.linux-armv6l.tar.gz'
wget https://dl.google.com/go/$FileName
sudo tar -C /usr/local -xvf $FileName
cat >> ~/.bashrc << 'EOF'
export GOPATH=$HOME/go
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
EOF
source ~/.bashrc
@lewixlabs

This comment has been minimized.

Copy link

lewixlabs commented Jun 6, 2019

thanks!
You can update your script with latest go armv6l release
go1.12.5.linux-armv6l.tar.gz

@christianbaun

This comment has been minimized.

Copy link

christianbaun commented Jun 18, 2019

thanks from my side too!
You can update your script with latest go armv6l release:
go1.12.6.linux-armv6l.tar.gz

@lindell

This comment has been minimized.

Copy link

lindell commented Nov 6, 2019

Newest version is go1.13.4.linux-armv6l.tar.gz:

cd $HOME
FileName='go1.13.4.linux-armv6l.tar.gz'
wget https://dl.google.com/go/$FileName
sudo tar -C /usr/local -xvf $FileName
cat >> ~/.bashrc << 'EOF'
export GOPATH=$HOME/go
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
EOF
source ~/.bashrc
@pcgeek86

This comment has been minimized.

Copy link
Owner Author

pcgeek86 commented Nov 21, 2019

Thanks! Updated the original post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.