21
edits
AndrewJanke (talk | contribs) m (replace "MacOS X" with "Mac OS X", matching Apple's usage) |
AndrewJanke (talk | contribs) (Update Homebrew instructions: suite-sparse is fixed now, so remove the workaround; add link to issue tracker) |
||
Line 33: | Line 33: | ||
====Simple Installation Instructions==== | ====Simple Installation Instructions==== | ||
*Install XCode | *Install XCode via the Mac App Store. | ||
** Once installed, install the Command Line Tools from XCode's Apple Menu > Preferences > Downloads. | |||
*Follow [http://www.finkproject.org/download/srcdist.php Fink's installation instructions]. For those who prefer it, there is a GUI available for Fink, [http://finkcommander.sourceforge.net Fink Commander]. | *Follow [http://www.finkproject.org/download/srcdist.php Fink's installation instructions]. For those who prefer it, there is a GUI available for Fink, [http://finkcommander.sourceforge.net Fink Commander]. | ||
*Fink has excellent support for Octave and includes recent as well as dated versions. A list of what Fink has available for Octave is [http://pdb.finkproject.org/pdb/browse.php?summary=octave here]. To install the latest Octave, type {{Codeline|<nowiki>sudo fink install octave</nowiki>}} at the Terminal's command line. For those running the 64 bit version of Fink, it is recommended that {{Codeline|octave-atlas}} be installed instead as there are some bugs/features with Apple's vecLib for the X86_64 architecture. Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours. | *Fink has excellent support for Octave and includes recent as well as dated versions. A list of what Fink has available for Octave is [http://pdb.finkproject.org/pdb/browse.php?summary=octave here]. To install the latest Octave, type {{Codeline|<nowiki>sudo fink install octave</nowiki>}} at the Terminal's command line. For those running the 64 bit version of Fink, it is recommended that {{Codeline|octave-atlas}} be installed instead as there are some bugs/features with Apple's vecLib for the X86_64 architecture. Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours. | ||
Line 46: | Line 47: | ||
====Simple Installation Instructions==== | ====Simple Installation Instructions==== | ||
*Install XCode | *Install XCode via the Mac App Store. | ||
*Follow [http://www.macports.org/install.php MacPorts' installation instructions]. | *Follow [http://www.macports.org/install.php MacPorts' installation instructions]. | ||
*MacPorts has good support for Octave. A list of what MacPorts has available for Octave is [http://www.macports.org/ports.php?by=name&substr=octave here]. To install the most recent version of Octave, type {{Codeline|sudo port install octave-devel +atlas+docs}} at the Terminal's command line. Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours. | *MacPorts has good support for Octave. A list of what MacPorts has available for Octave is [http://www.macports.org/ports.php?by=name&substr=octave here]. To install the most recent version of Octave, type {{Codeline|sudo port install octave-devel +atlas+docs}} at the Terminal's command line. Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours. | ||
Line 57: | Line 58: | ||
====Simple Installation Instructions==== | ====Simple Installation Instructions==== | ||
*Install XCode | First, install Homebrew: | ||
* | *Install XCode via the Mac App Store. | ||
** Once installed, install the Command Line Tools from XCode's Apple Menu > Preferences > Downloads. | |||
*Follow [https://github.com/mxcl/homebrew/wiki/installation Homebrew's installation instructions]. | *Follow [https://github.com/mxcl/homebrew/wiki/installation Homebrew's installation instructions]. | ||
* {{Codeline|brew tap homebrew/science}} to import the scientific computing packages, including Octave. | |||
Then, install Octave: | |||
* {{Codeline|brew update && brew upgrade}} to pick up the latest package definitions. | |||
* {{Codeline|brew install gfortran}} | |||
* {{Codeline|brew install octave}} | |||
Note that Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours. | |||
If you run in to trouble, you can report bugs at [https://github.com/Homebrew/homebrew-science/issues?state=open Homebrew-science's issue tracker]. The [https://github.com/mxcl/homebrew/wiki/troubleshooting Homebrew Troubleshooting Guide] can help you diagnose problems and craft useful bug reports. | |||
==Create a launcher app with AppleScript== | ==Create a launcher app with AppleScript== | ||
Line 108: | Line 89: | ||
<code> | <code> | ||
tell application "Terminal" | tell application "Terminal" | ||
do script "`which octave`; exit" | do script "`which octave`; exit" | ||
end tell | end tell | ||
</code> | </code> | ||
* Select "Save as ..." from the "File" menu | * Select "Save as ..." from the "File" menu | ||
* In the menu that appears, select "Application" from the "File format" menu, then navigate to the "Applications" folder and save your script there as "Octave.app" | * In the menu that appears, select "Application" from the "File format" menu, then navigate to the "Applications" folder and save your script there as "Octave.app" | ||
To change the application icon | To change the application icon |
edits