Last active
August 4, 2017 02:30
-
-
Save witooh/0ddb8b3835c36200b518 to your computer and use it in GitHub Desktop.
[Go] Ubuntu install
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
wget http://golang.org/dl/go1.3.linux-amd64.tar.gz | |
sudo tar -C /usr/local -xzf go1.3.linux-amd64.tar.gz | |
sudo echo "PATH=$PATH:/vagrant/go/bin:/usr/local/go/bin" >> ~/.profile | |
sudo echo "export GOPATH=/vagrant/go" >> ~/.profile | |
sudo echo "export GOROOT=/usr/local/go" >> ~/.profile | |
source ~/.profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment