2012-02-29 13:24:45 -08:00
2012-03-07 02:18:55 -08:00
2012-02-01 23:27:16 -08:00
2012-03-07 01:38:54 -08:00
2012-03-01 22:18:56 -08:00
2012-03-05 03:57:55 -08:00
2012-03-07 02:11:24 -08:00
2012-03-05 03:57:55 -08:00

gvm

GVM provides an interface to manage Go versions.

Installing

To install the stable release run:

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

To install the development branch (NOT USUALLY RECOMMENDED!) run:

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

Installing Go

gvm install 60.3
gvm use 60.3

Once this is done Go will be in the path and ready to use. $GOROOT is set automatically.

You are now ready to create packages using gpkg. Instructions can be found at http://github.com/moovweb/gpkg

List Go Versions

To list all installed Go versions (The current version is prefixed with "=>"):

gvm list

Uninstalling

To completely remove gvm and all installed Go versions and packages:

gvm implode

Mac OSX Requirements

Install mercurial from http://mercurial.berkwood.com/

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

Troubleshooting

Sometimes especially during upgrades the state of gvm's files can get mixed up. This is mostly true for upgrade from older version than 0.0.8. Changes are slowing down and a LTR is imminent. But for now rm -rf ~/.gvm will always remove gvm. Stay tuned!

S
Description
No description provided
Readme MIT
852 KiB
Languages
Shell 96.4%
Ruby 2.6%
Makefile 0.7%
M4 0.3%