Skip to content

Instantly share code, notes, and snippets.

@DarthHTTP
Created May 27, 2020 07:40
Show Gist options
  • Save DarthHTTP/f83e217d0ec9bf2a53328c8b61f4eb04 to your computer and use it in GitHub Desktop.
Save DarthHTTP/f83e217d0ec9bf2a53328c8b61f4eb04 to your computer and use it in GitHub Desktop.
custom go1.14.2.linux-armv6l
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