I'm here
And see:
Command Line UI
There is a terminal/curses based UI available through cabal install bhoogle.
I'd like to install with stack rather than cabal. I run
$ stack install hoogle
Copied executables to /home/username/.local/bin:
- bhoogle
This is on my path, great. Let's run it:
$ 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
Great, let's do that:
$ hoogle generate
Command 'hoogle' not found, but can be installed with:
sudo apt install hoogle
How about calling it bhoogle instead?
$ 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
Is it not finding the executable? Let's use the full path:
$ /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
How can I initialize hoogle?
The answer was running:
twice.
The first time it installed many packages and said:
The second time it installed no packages and said: