1,847
edits
Edmundronald (talk | contribs) |
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 | About version numbers (as of April 2017): | ||
*The 4. | *The 4.2.x are current releases. | ||
*The | *The 4.0.x are previous releases. | ||
*The 3. | *The 3.8.x or earlier 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 | 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: |