-
-
Save jonizen/0f4d0719965d758f47ed368ca79ac4fc to your computer and use it in GitHub Desktop.
Install Go Lang on Raspberry Pi
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.14.6.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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment