Install Go language useing GVM with Fedora

Where is GVM?

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

We can see what we need in the page.

Linux Requirements
  sudo apt-get install curl
  sudo apt-get install git
  sudo apt-get install mercurial
  sudo apt-get install make
  sudo apt-get install binutils
  sudo apt-get install bison
  sudo apt-get install gcc

So we need to install them.

$ sudo yum install curl git mercurial make binutils bison gcc

Install GVM

Enter this string in Terminal.

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

Done.

Install Go Language

Enter this string in Terminal.

gvm install goX.X.X

Example:

$ gvm install go1.1.2
Downloading Go source...
Installing go1.1.2...
 * Compiling...
$ gvm use go1.1.2 [--default]
Now using version go1.1.2
$ gvm list

gvm gos (installed)

=> go1.1.2
comments powered by Disqus