我在这里
并看到:
Command Line UI
There is a terminal/curses based UI available through cabal install bhoogle.
我想用堆栈而不是 cabal 安装。我跑
$ stack install hoogle
Copied executables to /home/username/.local/bin:
- bhoogle
这是在我的路上,太好了。让我们运行它:
$ bhoogle
bhoogle error: default hoogle database not found
at /home/username/.hoogle/default-haskell-5.0.17.hoo You can create the database by installing hoogle and running
hoogle generate
太好了,让我们这样做:
$ hoogle generate
Command 'hoogle' not found, but can be installed with:
sudo apt install hoogle
不如叫它bhoogle怎么样?
$ bhoogle generate
bhoogle error:
default hoogle database not found
at /home/username/.hoogle/default-haskell-5.0.17.hoo
You can create the database by installing hoogle and running
hoogle generate
是不是找不到可执行文件?让我们使用完整路径:
$ /home/username/.local/bin/bhoogle generate
bhoogle error:
default hoogle database not found
at /home/username/.hoogle/default-haskell-5.0.17.hoo
You can create the database by installing hoogle and running
hoogle generate
如何初始化hoogle?