Skip to content

Instantly share code, notes, and snippets.

@Markus2801A
Last active August 25, 2019 18:09
Show Gist options
  • Save Markus2801A/78911326610a07febf2d0d9f9af59193 to your computer and use it in GitHub Desktop.
Save Markus2801A/78911326610a07febf2d0d9f9af59193 to your computer and use it in GitHub Desktop.
Install latest golang v1.12.9 ARMv8 for Raspberry Pi 4B
cd $HOME
FileName='go1.12.9.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
@Markus2801A
Copy link
Author

unfortunately ARMv8 Version of Go (go1.11.13.linux-arm64.tar.gz) doesn't work. So I changed it to v6 wich is working!

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