Created
January 24, 2019 11:37
-
-
Save Peregrinox/0b59ee4b2cf3b8d906f3cac0128da62c to your computer and use it in GitHub Desktop.
golang on osmc.md
This file contains 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
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