Created
May 24, 2019 01:25
-
-
Save ejdoh1/e5b49558bacfffbf16ff03ede21fd915 to your computer and use it in GitHub Desktop.
Install Go Lang 1.12.5 on Raspberry Pi 3 B+
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.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 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just updated FileName from https://gist.github.com/pcgeek86/0206d688e6760fe4504ba405024e887c