Octave for macOS: Difference between revisions

Jump to navigation Jump to search
336 bytes removed ,  11 April 2018
(5 intermediate revisions by 5 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, 10.11 El Capitan, 10.12 Sierra==
==Octave 4.0.2 VM installer for Mac OS X 10.10 Yosemite, 10.11 El Capitan, 10.12 Sierra, 10.13 High Sierra==
[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.
[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.


Line 129: Line 128:
*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].
* If running Mountain Lion (Mac OS 10.8) or later, install [https://xquartz.macosforge.org/landing/ XQuartz].
* Import the scientific computing packages, including Octave:
<pre>brew tap homebrew/science</pre>


To install Octave, update to the latest package definitions, install {{Codeline|gfortran}} (Now you don't need to install it manually, it would be installed by dependency), and then Octave:
To install Octave, update to the latest package definitions, install {{Codeline|gfortran}} (Now you don't need to install it manually, it would be installed by dependency), and then Octave:
<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:
Note: If brew complains about:
Line 176: Line 173:
*Install [http://aquaterm.sourceforge.net Aquaterm]
*Install [http://aquaterm.sourceforge.net Aquaterm]
*Install {{Codeline|gnuplot}}
*Install {{Codeline|gnuplot}}
<pre>brew install gnuplot --with-aquaterm --with-qt4</pre>
<pre>brew install gnuplot --with-aquaterm --with-qt</pre>


==Create a launcher app with AppleScript==
==Create a launcher app with AppleScript==
20

edits

Navigation menu