Skip to content

Instantly share code, notes, and snippets.

@lee-pai-long
Last active September 5, 2017 13:32
Show Gist options
  • Save lee-pai-long/e2722d836f64f32fa7c25c096de74028 to your computer and use it in GitHub Desktop.
Save lee-pai-long/e2722d836f64f32fa7c25c096de74028 to your computer and use it in GitHub Desktop.
Install Go(lang) Version Manager and use Go 1.8 on current workspace.

[GOLANG] Install gvm and use go1.8 on Linux Mint 17.2

$ [sudo] apt-get install \
>                   curl \
>                   git \
>                   mercurial \
>                   make \
>                   binutils \
>                   bison \
>                   gcc \
>                   build-essential \
> && bash < <(curl -s -S -L https://goo.gl/aHyhPG) \
> && source $HOME/.gvm/scripts/gvm \
> && gvm install go1.4 -B \
> && gvm use go1.4 \
> && export GOROOT_BOOTSTRAP=$GOROOT \
> && gvm install go1.8 \
> && gvm use go1.8 --default

sources:

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