hdf5: where are you? (brew) On yosemite.  I want to install octave: but hdf5 can not be found.

00:48:51/shared $brew tap homebrew/science
Warning: Already tapped!


So I went to try to insstall hdf5 directly:

wget https://github.com/Homebrew/homebrew-science/blob/master/hdf5.rb
$ mv hdf5.rb /usr/local/Library/Formula
$ 00:47:59/shared $ll /usr/local/Library/Formula/hdf5.rb
-rw-r--r--     1 steve  staff   70014 Jan 13 00:46 hdf5.rb
$ brew install hdf5.rb
Error: No available formula for hdf5
Searching formulae...
hdf5
Searching taps..
It's been moved to homebrew/science but it seems there is a a conflict with the main homebrew listing for it.

The workaround if you're just trying to install octave is to edit the octave recipe and explicitly point it at homebrew/science/hdf5 for the dependency.

In the command line type

brew edit octave


Find the line:

"depends_on "hdf5" =&gt; :recommended"


and change it to:

"depends_on "homebrew/science/hdf5" =&gt; :recommended"


Save your changes and brew install octave again