英文:
Coexistence of Groovy- and Go gvm
问题
我已经安装了Groovy GVM。尝试安装Golang版本时出现以下错误:
ERROR: Already installed!
问题是~/.gvm
已经存在。
如何使它们同时存在?目前有没有解决这个冲突的计划?
英文:
I have Groovy GVM installed. Trying to install the Golang version gave
ERROR: Already installed!
The problem is that ~/.gvm
already exists.
How do/should you make them both coexist today?
Are there any plans to resolve this conflict?
答案1
得分: 2
您可以在以下位置找到该文件夹的追踪信息:
-
[ "$GVM_DEST" = "$HOME" ] && GVM_NAME=".gvm"
-
[[ -s "$HOME/.gvm/scripts/gvm" ]] && source "$HOME/.gvm/scripts/gvm"
您需要修补所有Go GVM程序,以确保不使用.gvm
。
更新于2016年3月:如问题82中所提到的:
> GVM已被http://sdkman.io/取代。gvm
命令变为sdk
。
英文:
Issue 82 and issue 103 seem to show there is no immediate plan to resolve that collision.
You find trace of that folder in:
-
[ "$GVM_DEST" = "$HOME" ] && GVM_NAME=".gvm"
-
[[ -s "$HOME/.gvm/scripts/gvm" ]] && source "$HOME/.gvm/scripts/gvm"
You would need to patch the all Go GVM program to make sure .gvm
isn't used.
Update March 2016: as mentioned in issue 82:
> GVM is superseded by http://sdkman.io/. gvm
command became sdk
.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论