To install GNU Octave, an Open Source Matlab clone under Mac OS X, you will need to install ﬂtk and GraphicsMagick as speciﬁc versions ﬁrst. To do so, install both using the following commands:
brew install --HEAD fltk
brew install --with-magick-plus-plus GraphicsMagick
Then, after installation has ﬁnished, 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 ﬂtk 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.