-
-
Save bigsan/c936451ed1a5b18bb8b0d7e8cc3e7212 to your computer and use it in GitHub Desktop.
Install Go Lang 1.12.5 on Raspberry Pi 3 B+
This file contains 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.5.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 |
Thank you! I searched a long time for this.
What's to do after the script if I run go version it doesn't show anything
worked perfectly. thank you
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you so much