Installing MacOS X Bundle: Difference between revisions

Jump to navigation Jump to search
Mark as outdated.
(Capitalize Gnuplot, and caution about replacing /usr/local/{octave,gnuplot})
(Mark as outdated.)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
These install instructions are verified to work for the [http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/2011-04-21%20binary%20of%20Octave%203.4.0/ October 04, 2011 binary for Octave 3.4.0], hosted on sourceforge.
{{Warning|This page is outdated (October 2019). For more information, see [[Octave for macOS]].}}
 
These install instructions are verified to allow the [http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/2011-04-21%20binary%20of%20Octave%203.4.0/ October 04, 2011 binary for Octave 3.4.0 (hosted on sourceforge)] to run on MacOS 10.7.  They do not work for MacOS 10.8.


= Download the DMG =
= Download the DMG =
There is an experimental dmg for Octave 4.0.0. See the bottom of [http://octave.1599824.n4.nabble.com/Mac-OS-Binary-td4673521.html#a4673576 this mailing list discussion]. Testers are very welcome.


The latest MacOS X binary (DMG) available is for Octave-3.4.0. Click on this [http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/2011-04-21%20binary%20of%20Octave%203.4.0/ link] to download.
The latest MacOS X binary (DMG) available is for Octave-3.4.0. Click on this [http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/2011-04-21%20binary%20of%20Octave%203.4.0/ link] to download.


Once it has been downloaded, double-click on the dmg to mount the disk image. It is recomended that Gnuplot is installed prior to Octave.
Once it has been downloaded, double-click on the dmg to mount the disk image. It is recommended that Gnuplot is installed prior to Octave.


= Install gnuplot & Aquaterm =
= Install Gnuplot & Aquaterm =


NOTE: The following instructions are for the Gnuplot in the 'Extras' folder, which DOES NOT WORK, due to some library version issues. Instead you could install a Gnuplot binary from http://www.miscdebris.net/upload/gnuplot-4.2.5-i386.dmg.  Or you could try using MacPorts to install Gnuplot.
NOTE: The following instructions are for the Gnuplot in the 'Extras' folder, which DOES NOT WORK, due to some library version issues. Instead you could install a Gnuplot binary from http://www.miscdebris.net/upload/gnuplot-4.2.5-i386.dmg.  Or you could try using MacPorts to install Gnuplot.
Line 13: Line 17:
Look in the 'Extras' folder and find the gnuplot-4.4.3-aqua-i386.dmg disc image.  Double-click this dmg to mount the gnuplot disk image.
Look in the 'Extras' folder and find the gnuplot-4.4.3-aqua-i386.dmg disc image.  Double-click this dmg to mount the gnuplot disk image.


On this disk is the OS X binary for Gnuplot. The Gnuplot package includes and relies on Aquaterm for displaying plots using [http://en.wikipedia.org/wiki/Quartz_(graphics_layer) Apple's Quartz graphics layer]. Alternatively, X11 can be used. However, the pleasant anti-aliasing features of Quartz will are not included with X11 on MacOS X.
On this disk is the OS X binary for Gnuplot. The Gnuplot package includes and relies on Aquaterm for displaying plots using [http://en.wikipedia.org/wiki/Quartz_(graphics_layer) Apple's Quartz graphics layer]. Alternatively, X11 can be used. If your entire data set is easily visible and you do not need to zoom in, you may prefer the pleasant anti-aliasing features of Quartz and Aquaterm. On the other hand, if your data set is too large or complicated to be easily visible, you may prefer to use X11, which allows you to zoom in and out of regions, set crosshairs at points, and other more advanced features.  Aquaterm is the default, but you can change the default to X11 by creating a file called .bash_profile in your home directory (note the period at the beginning of the file name) and adding the line "export GNUTERM=x11" (without the quotes).
It is unclear how to tell Gnuplot whether to use X11 or Aquaterm.


Move the 'gnuplot' icon to your Applications folder. For purpose of this discussion - this is assumed to be /Applications.  If you are using a local Applications folder (/~/Applications) appropriate modification of the paths specified below will be necessary.
Move the 'gnuplot' icon to your Applications folder. For purpose of this discussion - this is assumed to be /Applications.  If you are using a local Applications folder (~/Applications) appropriate modification of the paths specified below will be necessary.


This Gnuplot application includes Aquaterm.  It is located at /Applications/gnuplot.app/Contents/Resources/lib/Aquaterm.app  If you need it for some other application, this is the path that will find it.  But don't move it to the upper level of the Applications folder, or else Gnuplot will not know where to find it.
This Gnuplot application includes Aquaterm.  It is located at /Applications/gnuplot.app/Contents/Resources/lib/Aquaterm.app  If you need it for some other application, this is the path that will find it.  But don't move it to the upper level of the Applications folder, or else Gnuplot will not know where to find it.
Line 41: Line 44:
*** {{Codeline|sombrero ()}}
*** {{Codeline|sombrero ()}}


If Octave did not run, check to ensure that your PATH includes /usr/local/bin.
If Octave did not run ''(or if octave is running but the sombrero() command doesn't appear to do anything)'', check to ensure that your PATH includes /usr/local/bin.


* From the Terminal prompt, type,
* From the Terminal prompt, type,
Line 53: Line 56:
** Save ~/.bashrc and exit
** Save ~/.bashrc and exit
* If the PATH does include /usr/local/bin, help may be requested by posting to [https://mailman.cae.wisc.edu/listinfo/help-octave Octave's email list]. Please provide a detailed description of what you've tried and what the results were.
* If the PATH does include /usr/local/bin, help may be requested by posting to [https://mailman.cae.wisc.edu/listinfo/help-octave Octave's email list]. Please provide a detailed description of what you've tried and what the results were.
[[Category:Outdated pages]]

Navigation menu