Homebrew El Capitan

From the machine-learning-scientific-and-plotting dept. (71840) (26) by Luis

Here is a very quick way to install octave with aquaterm on Mac OS X 10.10 a.k.a. Yosemite as well as 10.11 a.k.a El Capitan. Note that these steps are not for the feign of heart and your millage might vary... Follow at your own risk.

How to install Octave via Homebrew in Mac OS X 10.10 Yosemite and later. Fri, 17 Oct 2014 04:21:00 +0000. From the machine-learning-scientific-and-plotting dept. (71666) (26) by Luis Here is a very quick way to install octave with aquaterm on Mac OS X 10.10 a.k.a. Yosemite as well as 10.11 a.k.a El Capitan. Note that these steps are not for the. An alternative to the aforementioned installation script is installing MySQL using Homebrew. This gist assumes you already have Homebrew installed, if not first read the article 'Homebrew and El Capitan' Make sure Homebrew has the latest formulae, so run brew update first-OR-make sure Homebrew has MySQL version 5.6.27 as default formulae in its.

updated 2016-11-21 22:32 GMT - tested with macOS Sierra (10.12) works well
updated 2015-10-07 21:58 GMT - tested with El Capitan (10.11) works well
updated 2015-06-21 09:17 GMT - adds homebrew/science tap
updated 2014-10-24 05:15 GMT - includes MacTex

Before you start you need to get your system setup. You will need:

  1. install Xcode from Apple's dev site
  2. install Xcode command line utilities from Xcode add-ons
  3. install hombrew
  4. install AquaTerm from sourceforge
  5. install Mac Latex (MacTex) from tug.org
  6. (optional) install Java
System

Yep, note that I'm assuming that you already have a working Homebrew installation, compilers, and AquaTerm ready... Then you may do:

  1. brew tap homebrew/science
  2. brew reinstall gnuplot --with-aquaterm
  3. gnuplot # make sure it says 'terminal set to aqua'
  4. brew install lua51 # yes, you also need this old version of Lua
  5. brew install octave

Homebrew El Capitan 2

Installing Octave will take a while and it will install Lua 2.x as a dependency. If you see the make check | tee make-check.log taking an extremely long time. You might have to open a new terminal and navigate to cd /tmp/octave* and cat make-check.log to see where it went wrong. In my case it used to stop while loading lua dynlib files but installing the older lua51 fixed it.

When updating your operating system to a newer version of MacOS (macOS now), you may need to reinstall Octave if you see an error like:

Try: brew reinstall gcc arpack. If that does not fix it, then try: brew reinstall octave --without-arpack. And if this fails, you may use: brew reinstall octave --with-java.

Leave a comment if you need help, but this should do the trick ;) Now you can move on with your Machine Learning studies!

El Capitan Os X

Here is a quick way to know everything works correctly:

El Capitan High School

  1. octave
  2. a = [2;3;4;5;6;3;4;32;3;2;1;4;5;6;7;]
  3. b = [12;23;44;55;66;12;44;9;5;27;111;23;66;89;88;]
  4. plot ([a, b])

Homebrew El Capitan Free

Happy plotting!