Last active
August 25, 2019 18:09
-
-
Save Markus2801A/78911326610a07febf2d0d9f9af59193 to your computer and use it in GitHub Desktop.
Install latest golang v1.12.9 ARMv8 for Raspberry Pi 4B
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
use
wget https://gist.githubusercontent.com/Markus2801A/78911326610a07febf2d0d9f9af59193/raw/1bf781b591925a40753097d46e0689f286b1dc0a/install_go_pi.sh
chmod 755 install_go_pi.sh
./install_go_pi.sh