Created
June 15, 2018 08:34
-
-
Save lootek/e44e6eac425764bf1871df5a9b3b1a90 to your computer and use it in GitHub Desktop.
Go compiler install/update oneliners
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
# From official binary release | |
v=1.10.3; curl -Sso /tmp/go.tar.gz https://dl.google.com/go/go$v.linux-amd64.tar.gz && cd /tmp && tar -xf go.tar.gz -C /usr/local && rm -fv /tmp/go.tar.gz | |
# Using gvm (https://github.com/moovweb/gvm) | |
v=1.10.3; gvm install go$v --prefer-binary --with-build-tools; gvm use go$v --default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment