Install Octave with Home Brew under Mac OS X

To install GNU Octave, an Open Source Matlab clone under Mac OS X, you will need to install fltk and GraphicsMagick as specific versions first. To do so, install both using the following commands:

brew install --HEAD fltk
brew install --with-magick-plus-plus GraphicsMagick

Then, after installation has finished, you can proceed with the installation of GNU Octave as follows:

brew install octave

After that, I installed gnuplot as well (no, it’s not in the dependency list), because fltk was somehow no longer available in octave after my last reboot. Just invoke the following to get gnuplot (takes a while):

brew install gnuplot

That’s it again.
Cheers,
iss