Octave for macOS: Difference between revisions

Jump to navigation Jump to search
m
Siko1056 moved page Octave for MacOS X to Octave for macOS: MacOS X became macOS (see https://en.wikipedia.org/wiki/MacOS)
m (Siko1056 moved page Octave for MacOS X to Octave for macOS: MacOS X became macOS (see https://en.wikipedia.org/wiki/MacOS))
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
GNU Octave for Mac OS X is readily available using [http://en.wikipedia.org/wiki/Package_management_system package managers] such as [http://www.finkproject.org/ Fink], [http://www.macports.org/ MacPorts], and [http://mxcl.github.com/homebrew/ Homebrew].
GNU Octave for Mac OS X is readily available using [http://en.wikipedia.org/wiki/Package_management_system package managers] such as [http://www.finkproject.org/ Fink], [http://www.macports.org/ MacPorts], and [http://mxcl.github.com/homebrew/ Homebrew].


About version numbers (as of June 2016):
About version numbers (as of April 2017):


*The 4.0.x are current releases.
*The 4.2.x are current releases.
*The 3.8.x are previous releases.
*The 4.0.x are previous releases.
*The 3.6.x are old releases.
*The 3.8.x or earlier are very old releases.
*The 3.4.x are very old releases.


==Installing a Mac OS X Bundle==
==Installing a Mac OS X Bundle==
Line 135: Line 134:
<pre>brew update && brew upgrade
<pre>brew update && brew upgrade
brew install octave</pre>
brew install octave</pre>
This would install octave with the default dependencies. Note that the default dependencies include java runtime environment. If you do not have java installed, homebrew would guide you to do that. Or you can type {{Codeline|brew install octave --without-java}} to remove its dependency on java.
This would install octave with the default dependencies.  
 
Note: If brew complains about:
<pre>
Linking /usr/local/Cellar/ghostscript/9.14...
Error: Could not symlink share/ghostscript/Resource
/usr/local/share/ghostscript is not writable.
</pre>
This is telling you the user permissions for ghostscript are not setup in a way that your user profile can use. You need to change those permissions to your user profile.
The following command will repair the issue:
<pre>
sudo chown -R `whoami` /usr/local/share/ghostscript
brew link --overwrite ghostscript
</pre>
Then run the brew install command again for octave.


Note: If brew complains about not having a formula for octave, the following command should fix it:
Note: If brew complains about not having a formula for octave, the following command should fix it:

Navigation menu