-
-
Save glowinthedark/7f89588aae105dc60381f9a4ee5eeac3 to your computer and use it in GitHub Desktop.
Install Go Lang on Raspberry Pi
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 | |
file='go1.14.2.linux-armv6l.tar.gz' | |
wget "https://dl.google.com/go/$file" | |
sudo tar -C /usr/local -xvf "$file" | |
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