Octave for macOS: Difference between revisions

Jump to navigation Jump to search
2,261 bytes removed ,  16 May 2020
(→‎Spack: Add latest Octave version.)
Line 21: Line 21:


All package managers below are given in alphabetical order.  The Octave developers do not recommend a certain package manager.
All package managers below are given in alphabetical order.  The Octave developers do not recommend a certain package manager.
=== Fink ===
→ ''Latest Octave: [http://pdb.finkproject.org/pdb/package.php/octave382 Version 3.8.2]''
[http://www.finkproject.org/ The Fink project] uses [https://en.wikipedia.org/wiki/Dpkg dpkg] and [https://en.wikipedia.org/wiki/Advanced_Packaging_Tool APT] ([https://en.wikipedia.org/wiki/Debian Debian's] package management system), as well as its own frontend program, fink (which is implemented as a set of [https://en.wikipedia.org/wiki/Perl_module Perl modules]).
'''Install GNU Octave using Fink:'''
* Install [https://developer.apple.com/xcode/ Xcode] via the '''Mac App Store'''.
** Install the '''Command Line Tools''' by [https://support.apple.com/guide/terminal/open-or-quit-terminal-apd5265185d-f365-44cb-8b09-71a064a42125/mac opening a terminal] and type <code>sudo xcode-select --install</code>.
* Follow [http://www.finkproject.org/download/srcdist.php Fink's installation instructions].
* 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 with GUI support, type {{Codeline|<nowiki>fink install octave-qtmac</nowiki>}} or {{Codeline|<nowiki>fink install octave-qtx11</nowiki>}} at the Terminal's command line.  For those running the 64 bit version of Fink, it is recommended that {{Codeline|octave-atlas-qtmac}} or {{Codeline|octave-atlas-qtx11}} 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 many hours.
* Fink should also be used to install [[http://octave.sourceforge.net/packages.php packages] for Octave.  For example, the control systems package  may be installed by typing {{Codeline|fink install control-atlas-oct382}} at a terminals command line.
For the {{Codeline|doc()}} function to be supported by Octave, either the unversioned {{Codeline|octave}}, {{Codeline|octave-atlas}}, or {{Codeline|octave-ref}} package must be installed. Essentially, those features used at run-time which don't have a version somewhere in the file path are included in these packages.


=== Homebrew ===
=== Homebrew ===

Navigation menu