Created
March 14, 2019 07:04
-
-
Save iamvon/f23bcf186622e72bf6da72e9d1bc6849 to your computer and use it in GitHub Desktop.
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
| sudo rm -rf /usr/lib/go-1.6/ /usr/lib/go-1.6/src/ /usr/lib/go-1.6/src/runtime/ /usr/lib/go-1.6/src/runtime/race | |
| curl -O https://storage.googleapis.com/golang/go1.11.5.linux-amd64.tar.gz | |
| sudo tar -C /usr/local -xzf go1.11.5.linux-amd64.tar.gz | |
| mkdir -p ~/go; echo "export GOPATH=$HOME/go" >> ~/.bashrc | |
| echo "export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin" >> ~/.bashrc | |
| source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment