简体   繁体   中英

Multiple installations of ghc-mod

I have noticed I have 3 sets of ghc-mod.exe, ghc-modi.exe etc on my computer. The first one I suspect was created with stack. It is in

c:\\users\\myname\\appdata\\roaming\\local\\bin

The 2nd one I think was created with cabal and is in

c:\\users\\myname\\appdata\\roaming\\cabal\\bin

and the 3rd one again I suspect was created with stack. It is in

C:\\stack_root\\snapshots\\48375d44\\bin

. At the moment my PATH is pointing to all 3 however I have renamed ghc-modi.exe and ghc-mod.exe in 2 folders and left version 5.6.0.0 in ~\\roaming\\cabal\\bin unchanged. The whole thing is somewhat confusing and I suspect unnecessary. Do I need all 3 versions? How can I clean it up?

Cabal安装到〜\\ cabal \\ bin,堆栈安装到〜\\ 48375d44 \\ bin和〜\\ local \\ bin。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM