Octave for macOS: Difference between revisions

Jump to navigation Jump to search
1,412 bytes added ,  10 April 2020
Added information regarding the package manager Spack (compatible with MacOS) that also contains an option for installing Octave.
No edit summary
(Added information regarding the package manager Spack (compatible with MacOS) that also contains an option for installing Octave.)
Line 1: Line 1:
GNU Octave is primarily developed on GNU/Linux and other POSIX conformant systems.  
GNU Octave is primarily developed on GNU/Linux and other POSIX conformant systems.  
GNU Octave for macOS 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]. An unofficial native macOS "Octave.app" distribution of GNU Octave is also available as either [http://octave-app.org/ a dmg or Homebrew cask].
GNU Octave for macOS 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], [https://spack.readthedocs.io/ Spack] and [http://mxcl.github.com/homebrew/ Homebrew]. An unofficial native macOS "Octave.app" distribution of GNU Octave is also available as either [http://octave-app.org/ a dmg or Homebrew cask].


About version numbers (as of December 2018):
About version numbers (as of December 2018):
Line 166: Line 166:


In case of trouble, see the [https://docs.brew.sh/Troubleshooting Homebrew Troubleshooting Guide], which assists in diagnosing problems and craft useful bug reports. Bugs may be reported at [https://github.com/Homebrew/homebrew-core/issues Homebrew-core's issue tracker].
In case of trouble, see the [https://docs.brew.sh/Troubleshooting Homebrew Troubleshooting Guide], which assists in diagnosing problems and craft useful bug reports. Bugs may be reported at [https://github.com/Homebrew/homebrew-core/issues Homebrew-core's issue tracker].
===Spack===
Spack is a package management tool that supports the installation of multiple versions of software on macOS and other operating systems. It is a free/open source software project to simplify installation of other software. It is similar in aim and function to MacPorts and Homebrew. It was created by Todd Gamblin and is currently being updated and developed by a large list of contributors (mainly via GitHub).
====Simple Installation Instructions====
First, install Spack:
*Install Xcode via the Mac App Store.
** Install the command line tools by {{Codeline|xcode-select --install}}.
*Follow [https://spack-tutorial.readthedocs.io/en/latest/ Spack tutorial].
To install Octave, first we ensure that Spack itself has the latest definitions, by going to the local Spack repository (develop branch) folder and running the command:
<pre>git pull</pre>
Then, we install the latest version of Octave:
<pre>spack install octave</pre>
To use Octave we need to first load the package:
<pre>spack load octave</pre>
Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take up to a few hours.
In case of trouble, please visit the [https://github.com/spack/spack/issues Spack repo issues list], and browse through Octave related issues by writing in the filters box:
<pre>is:issue octave</pre>


==Create a launcher app with AppleScript==
==Create a launcher app with AppleScript==
Anonymous user

Navigation menu