Homebrew El Capitan

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

  1. Homebrew El Capitan Update
El capitan os x download

To install VMware applications on Mac OS X El Capitan, you should have a clean installation. After that, run the VMware Workstation and then click on Power with this virtual machine. Power on the VM. Within this step, click VM about the taskbar, Removable, CD/DVD (SATA), and settings go farther for more settings. I just upgraded to El Capitan, and when I tried updating brew I got the following error: $ brew update Error: The /usr/local directory is not writable. Even if this directory was writable when you installed Homebrew, other software may change permissions on this directory. Option 2: Uninstalling Homebrew with the Uninstall Script Manually. If you don’t like the idea of executing a script downloaded from the internet with curl (which is understandable for security conscious individuals), then you can also view, download, and review the uninstall script beforehand, and then execute it manually on the computer that you wish to remove Homebrew from.

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.

Homebrew

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

Homebrew & El Capitan. Last login: Sat Oct 3 08:12:01 on ttys000. E-mac: e$ cd $ (brew -repository) && git reset -hard origin/master. HEAD is now at 80170b5 gdal: update 1.11.3 bottle. E-mac:local e$ brew update. Stashing your changes: M.editorconfig. El Capitanではsudoでも権限のない領域があって、うまくインストールする方法を見つけられなかった。python自体をホームフォルダにインストールし直せばよさそうだけど、ipythonなくても困らないだろうと思って今回はパス。.

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

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

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:

Homebrew el capitan free

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.

HomebrewHomebrew El Capitan

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

Here is a quick way to know everything works correctly:

  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 Update

Happy plotting!