Jump to navigation Jump to search

Installing Mac OS X Bundle

2,174 bytes removed, 20 August
Make orphaned duplicate page a redirect.
The steps below will result in successful install Octave and Gnuplot. This approach should be avoided on systems with a [[Octave_for_MacOS_X#Package_Managers|package manager]] such as [ Fink], REDIRECT [ Macports], or [ HomebrewInstalling MacOS X Bundle] installed. These instructions were originally copied form [ Anthony Sutardja]. * [ Download the latest OSX binary of Octave]. This is everything that you need to download. Gnuplot, as well as AquaTerm, are included within the dmg. * Mount the image and copy to your <code>/Applications/</code> folder. * Inside the Octave image, mount the <code>gnuplot-4.4.3-aqua-i386.dmg</code> which is located in the Extras folder and copy <code></code> into your <code>/Applications/</code> folder as well. * In your favorite text editor, open up <code>/Applications/</code> and replace every instance of <code>DYLD_LIBRARY_PATH</code> with <code>DYLD_FALLBACK_LIBRARY_PATH</code>. There should be four matches that need to be replaced. In vim, you can do this with the following command:  :%s/DYLD_LIBRARY_PATH/DYLD_FALLBACK_LIBRARY_PATH/g * ''Optional'': If you want to run Octave from the commandline, you can make an alias to one of the binaries. I would put them somewhere separate from all your other binaries (e.g. <code>~/bin/</code>). If you choose to do this, you must add <code>/Users/YourAccount/bin/</code> to your <code>PATH</code> (as well as making the bin folder). To do this, add the line <code>PATH=/Users/YourAccount/bin:$PATH</code> to your <code>.bash_profile</code> located in your home directory. Then make the following aliases: <pre>sudo ln -sf /Applications/ /Users/YourAccount/bin/gnuplotsudo ln -sf /Applications/ /Users/YourAccount/bin/octave</pre> And that’s it! You can type octave at the command-line of to enter the Octave shell.

Navigation menu