Skip to content

Instantly share code, notes, and snippets.

@pcgeek86
Forked from random-robbie/install_go_pi.sh
Last active March 17, 2025 21:35
Show Gist options
  • Select an option

  • Save pcgeek86/0206d688e6760fe4504ba405024e887c to your computer and use it in GitHub Desktop.

Select an option

Save pcgeek86/0206d688e6760fe4504ba405024e887c to your computer and use it in GitHub Desktop.

Revisions

  1. pcgeek86 revised this gist Nov 21, 2019. No changes.
  2. pcgeek86 revised this gist Nov 21, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_go_pi.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    cd $HOME
    FileName='go1.11.1.linux-armv6l.tar.gz'
    FileName='go1.13.4.linux-armv6l.tar.gz'
    wget https://dl.google.com/go/$FileName
    sudo tar -C /usr/local -xvf $FileName
    cat >> ~/.bashrc << 'EOF'
  3. pcgeek86 revised this gist Oct 31, 2018. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions install_go_pi.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    wget https://storage.googleapis.com/golang/go1.10.1.linux-armv6l.tar.gz
    sudo tar -C /usr/local -xvf go1.10.1.linux-armv6l.tar.gz
    cd $HOME
    FileName='go1.11.1.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
  4. @random-robbie random-robbie created this gist Apr 26, 2018.
    7 changes: 7 additions & 0 deletions install_go_pi.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    wget https://storage.googleapis.com/golang/go1.10.1.linux-armv6l.tar.gz
    sudo tar -C /usr/local -xvf go1.10.1.linux-armv6l.tar.gz
    cat >> ~/.bashrc << 'EOF'
    export GOPATH=$HOME/go
    export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
    EOF
    source ~/.bashrc