Skip to content

Instantly share code, notes, and snippets.

@witooh
Last active August 4, 2017 02:30
Show Gist options
  • Save witooh/0ddb8b3835c36200b518 to your computer and use it in GitHub Desktop.
Save witooh/0ddb8b3835c36200b518 to your computer and use it in GitHub Desktop.
[Go] Ubuntu install
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