Saturday, April 19, 2014

Installing Octave on OS X 10.8

Couldn't find a post that worked for me. All the (will fail)'s are just in case of dependencies, if not you could probably just do these steps: 1, 4, 6, 5, 7.

1) brew update && brew upgrade

2) brew install gfortran (will fail)

3) brew install octave (will fail)

4)
wget https:/raw.github.com/Homebrew/homebrew-science/master/hdf5.rb
mv hdf5.rb /usr/local/Library/Formula
cd /usr/local/Library/Formula
brew install hdf5.rb

5) brew install octave (will fail)

5) brew install gfortran

5) brew install octave (will fail)

6)
wget https:/raw.github.com/Homebrew/homebrew-science/master/qrupdate.rb
brew install qrupdate.rb

7) brew install octave

Now we have everything installed, to run GNUPLOT (since OS X 10.8 has deprecated support for X11)

1) cd /usr/local/share/octave/site/m/startup
2) append "setenv ("GNUTERM", "X11")" to octaverc

No comments:

Post a Comment