Skip to content

Instantly share code, notes, and snippets.

@manualbashing
Forked from kleo/install.md
Created November 5, 2020 13:17
Show Gist options
  • Save manualbashing/15d1cf3096ce30c2e0318c4d5bd83288 to your computer and use it in GitHub Desktop.
Save manualbashing/15d1cf3096ce30c2e0318c4d5bd83288 to your computer and use it in GitHub Desktop.
Install Go 1.15.3 on Raspberry Pi

Installer

  1. yeet this into your terminal
sh -c "$(curl -fsSL https://gist.githubusercontent.com/kbeflo/9d981573aad107da6fa7ac0603259b3b/raw/35111746659e6146d4985e0ab451c023415f5f1b/install.sh)"
  1. logout
  2. login
  3. go version
  4. ????
  5. PROFIT!!!
#!/bin/bash
wget https://golang.org/dl/go1.15.3.linux-armv6l.tar.gz
sudo tar -C /usr/local -xvf go1.15.3.linux-armv6l.tar.gz
cat >> ~/.profile << 'EOF'
# go https://git.io/JTVSj
export GOPATH=$HOME/.go
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment