Octave for macOS: Difference between revisions

Jump to navigation Jump to search
m (Add note about upgrades)
Line 62: Line 62:
** Once installed, install the Command Line Tools from XCode's Apple Menu > Preferences > Downloads.
** Once installed, 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].
* {{Codeline|brew tap homebrew/science}} to import the scientific computing packages, including Octave.
* Import the scientific computing packages, including Octave.
<pre>brew tap homebrew/science</pre>


Then, install Octave:
To install Octave, update to the latest package definitions, install {{Codeline|gfortran}}, and then Octave.
* {{Codeline|brew update && brew upgrade}} to pick up the latest package definitions.
<pre>brew update && brew upgrade
* {{Codeline|brew install gfortran}}
brew install gfortran
* {{Codeline|brew install octave}}
brew install octave</pre>


Note that Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours.
The command below upgrades Octave and its dependencies to the latest Homebrew-supported versions.
brew update && brew upgrade


To upgrade Octave and its dependencies to the latest Homebrew-supported version, do {{Codeline|brew update && brew upgrade}}.
Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours.


If you run in to trouble, you can report bugs at [https://github.com/Homebrew/homebrew-science/issues?state=open Homebrew-science's issue tracker]. The [https://github.com/mxcl/homebrew/wiki/troubleshooting Homebrew Troubleshooting Guide] can help you diagnose problems and craft useful bug reports.
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].


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

edits

Navigation menu