简体   繁体   English

Haskell通过cabal安装了hoogle,但找不到hoogle命令

[英]Haskell hoogle installed through cabal, but hoogle command not found

The hoogle (hoogle-4.2.36) installation process looks successful, except that when typing "hoogle" at the command line, it complains "hoogle: command not found". hoogle(hoogle-4.2.36)安装过程看起来很成功,除了在命令行输入“hoogle”时,它会抱怨“hoogle:command not found”。

Tried this on two machines (both running MAC OS X Yosemite), they failed exactly the same way. 在两台机器上都运行了这两台机器(都运行MAC OS X Yosemite),它们完全失败了。 Any suggestions to resolve this? 有什么建议可以解决吗?

Thanks! 谢谢!

Thanks to your information, I found my "hoogle" executable in ".cabal/bin". 感谢您的信息,我在“.cabal / bin”中找到了我的“hoogle”可执行文件。 Alas, why doesn't cabal add it to PATH? 唉,为什么不将cabal添加到PATH?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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