Last active
December 25, 2015 17:39
-
-
Save 0xqd/7015002 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Ubuntu provides go through the `golang` package, but it is slow to update. | |
# | |
# Using gvm, we can install an up to date version of go on a user by user basis. | |
# Install gvm deps | |
sudo apt-get install mercurial bison | |
# Install and activate gvm | |
bash < <(curl -s https://raw.github.com/moovweb/gvm/master/binscripts/gvm-installer) | |
source $HOME/.gvm/scripts/gvm | |
# Install go | |
gvm install go1.1.2 | |
gvm use go1.1.2 --default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment