-
-
Save DarthHTTP/f83e217d0ec9bf2a53328c8b61f4eb04 to your computer and use it in GitHub Desktop.
custom go1.14.2.linux-armv6l
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 | |
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