Skip to content

Instantly share code, notes, and snippets.

@Peregrinox
Created January 24, 2019 11:37
Show Gist options
  • Save Peregrinox/0b59ee4b2cf3b8d906f3cac0128da62c to your computer and use it in GitHub Desktop.
Save Peregrinox/0b59ee4b2cf3b8d906f3cac0128da62c to your computer and use it in GitHub Desktop.
golang on osmc.md
version=go1.11.5.linux-armv6l.tar.gz
wget https://dl.google.com/go/$version
sudo tar -C /usr/local -xvf $version
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