I just installed gvm with go1.3, but when I try to go version I have The program 'go' is currently not installed message. How to fix this?
gvm `The program 'go' is currently not installed`
1.9k Views Asked by cnaize At
2
There are 2 best solutions below
2
On
Check your $PATH environment variable once you have used gvm (gvm install or gvm use).
It should include the bin/ folder of your go installation folder.
For instance: /usr/lib/go/bin
Issue 187 reports:
Currently
GVMassumes it is in sole charge of the*_HOMEandPATHenvironment variables and puts it's paths first.
Since the default is to execute theGVMinitialization last this overwrites any settings the user may have set up, in my caseGROOVY_HOMEandPATHare set as I need them then GVM overwrites the settings.Thus currently
GVMdoes not "play nice" with a sophisticated users' set up.
gvm go1.3 --defaultfixed this