How to install Octave in Mac OS Yosemite ?
May 21, 2015 Leave a comment
I was trying to execute my Octave scripts to recognize digits using a Neural Network. Octave did not work after I upgraded to Yosemite. Now it works after these steps. It may look simple but this wasted several hours.
brew tap homebrew/science
sudo chmod -R 777 /usr/local/share
brew link –overwrite xz
brew install gcc
I thought this prevented the gcc installation from completing.
==> ../configure –build=x86_64-apple-darwin14.3.0 –prefix=/usr/local/Cellar/gcc/5.1.0 –li
Error: Permission denied – /Users/radhakrishnan/Library/Logs/Homebrew/gcc
So I changed the permissions and tried again.
sudo chmod 777 /Users/radhakrishnan/Library/Logs/Homebrew
brew install gcc
sudo chmod -R 777 /usr/local/include/freetype2
brew link freetype
brew install octave –with-x11