Octave for macOS: Difference between revisions

No edit summary
Line 90: Line 90:
First, install Homebrew:
First, install Homebrew:
*Install XCode via the Mac App Store.
*Install XCode via the Mac App Store.
** Once installed, install the Command Line Tools from XCode's Apple Menu > Preferences > Downloads.
** For Mac OS 10.9 (Mavericks) install the command line tools by {{Codeline|xcode-select --install}}.
** For earlier versions of Mac OS, install the command line tools from XCode's Apple Menu > Preferences > Downloads.
*Follow [https://github.com/mxcl/homebrew/wiki/installation Homebrew's installation instructions].
*Follow [https://github.com/mxcl/homebrew/wiki/installation Homebrew's installation instructions].
* If running Mountain Lion (Mac OS 10.8) or later, install [https://xquartz.macosforge.org/landing/ XQuartz].
* Import the scientific computing packages, including Octave:
* Import the scientific computing packages, including Octave:
<pre>brew tap homebrew/science</pre>
<pre>brew tap homebrew/science</pre>
Line 115: Line 117:
to your octaverc file, normally located at {{Codeline|/usr/local/share/octave/site/m/startup}}.
to your octaverc file, normally located at {{Codeline|/usr/local/share/octave/site/m/startup}}.


In case of trouble, see the [https://github.com/mxcl/homebrew/wiki/troubleshooting Homebrew Troubleshooting Guide], which assists in diagnosing problems and craft useful bug reports.  Bugs may be reported at [https://github.com/Homebrew/homebrew-science/issues?state=open Homebrew-science's issue tracker].
In case of trouble, see the [https://github.com/mxcl/homebrew/wiki/troubleshooting Homebrew Troubleshooting Guide], which assists in diagnosing problems and craft useful bug reports.  The [http://jatinganhotra.com/blog/2014/01/21/installing-octave-on-os-x-10-dot-9-mavericks/ post by Jatin Ganhotra] may also be helpful. Bugs may be reported at [https://github.com/Homebrew/homebrew-science/issues?state=open Homebrew-science's issue tracker].


==Create a launcher app with AppleScript==
==Create a launcher app with AppleScript==
364

edits