Search code examples
macosoctavefink

How can I install GNU Octave on Mac with Fink ?


I tried to install GNU Octave on my Mac using Fink by this instruction http://wiki.octave.org/Octave_for_MacOS_X

I think I have followed all the instructions but I can't run Octave. How can I check if it is installed correctly? I tried typing 'octave' in the terminal but it says 'command not found'

Or, is there any easy instruction for Octave installation? I've found many install guides but they are all different and assumes some knowledge.


Solution

  • Incidentally, I have installed Octave GNU today twice on two different machines (both running Lion).

    I needed the latest version of Octave (3.6.4), and used Homebrew.

    I already had XCode installed, so the rest:

    Install Homebrew

    Based on the instructions in this page, I ran:

    ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
    

    Install Octave

    Following this guide, I ran:

    brew tap homebrew/science
    brew update && brew upgrade
    brew install gfortran
    brew install octave
    

    Install AquaTerm

    Notice that you need this before you install gnuplot (or gnuplot won't see aqua as a valid terminal and you may get 'unknown or ambiguous terminal type' error).

    Simply downloaded the latest version (1.1.0) dmg from SourceForge.

    Install gnuplot

    brew install gnuplot