Skip to content

Instantly share code, notes, and snippets.

@ravibhure
Last active September 25, 2017 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ravibhure/0fbc65128af68ec24cae3a0323fe8069 to your computer and use it in GitHub Desktop.
Save ravibhure/0fbc65128af68ec24cae3a0323fe8069 to your computer and use it in GitHub Desktop.
Easy install and update

Add basic packages

sudo apt-get install curl git mercurial make binutils bison gcc build-essential

Install GVM

bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)

Install which version you want to install

gvm install go1.9

Use it as default version

gvm use go1.9 --default

Ref: https://github.com/moovweb/gvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment