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))
(7 intermediate revisions by 4 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 17: Line 16:
To compile and create the application bundle yourself, see the instructions on [[Create_a_MacOS_X_App_Bundle_Using_Homebrew|how to create the bundle using Homebrew]]. (See instructions on [[Create_a_MacOS_X_App_Bundle_Using_MacPorts|how to create a bundle using Macports]] for reference, but this approach is not currently being used.)
To compile and create the application bundle yourself, see the instructions on [[Create_a_MacOS_X_App_Bundle_Using_Homebrew|how to create the bundle using Homebrew]]. (See instructions on [[Create_a_MacOS_X_App_Bundle_Using_MacPorts|how to create a bundle using Macports]] for reference, but this approach is not currently being used.)


==Octave 4.0.2 VM installer for Mac OS X 10.10 Yosemite and OS X 10.11 El Capitan, (OS X 10.12 Sierra in beta)==
==Octave 4.0.2 VM installer for Mac OS X 10.10 Yosemite, 10.11 El Capitan, 10.12 Sierra==
[http://deepneural.blogspot.fr/p/welcome.html Configuration files] that cause Vagrant to automatically download and configure an Octave 4.0.2 server VM under OS X including 10.10 Yosemite and 10.11 El Capitan. The install process pulls down Octave 4.0.2 from the repository. All software used in running this server VM is open source (Vagrant, VirtualBox, Octave). The Octave GUI and graphics will display seamlessly on the Mac via the Mac's native X-windows server, while the server runs headless.. The recommended configuration ensures that by default user files written by the GUI are in a folder shared with the Mac's filesystem, and the VM suspends automatically when the user quits the GUI. Any edited files then persist in the Mac's shared folder.
[http://deepneural.blogspot.fr/p/welcome.html Point and click configuration files] that cause Vagrant to automatically download and configure an Octave 4.0.2 server VM under OS X including 10.10 Yosemite, 10.11 El Capitan and 10.12 Sierra. The install process pulls down Octave 4.0.2 from the repository. All software used in running this server VM is open source (Vagrant, VirtualBox, Octave). The Octave GUI and graphics will display seamlessly on the Mac via the Mac's native X-windows server, while the server runs headless.. The recommended configuration ensures that by default user files written by the GUI are in a folder shared with the Mac's filesystem, and the VM suspends automatically when the user quits the GUI. Any edited files then persist in the Mac's shared folder.


==Binary installer for OSX 10.9.1==
==Binary installer for OSX 10.9.1==
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