Created
September 24, 2018 18:46
-
-
Save rms1000watt/932f2c524490c2f89beef8e0679896f3 to your computer and use it in GitHub Desktop.
Install Go 1.11 on Linux
This file contains hidden or 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
| echo "Install Golang" | |
| curl -o go1.11.linux-amd64.tar.gz https://dl.google.com/go/go1.11.linux-amd64.tar.gz | |
| sudo tar -xvf go1.11.linux-amd64.tar.gz | |
| sudo mv go /usr/local | |
| rm go1.11.linux-amd64.tar.gz | |
| echo "export GOROOT=/usr/local/go" >> /home/ubuntu/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment