Octave for macOS: Difference between revisions

→‎Homebrew: Add note.
(→‎Spack: Update format.)
(→‎Homebrew: Add note.)
Line 34: Line 34:
# Ensure brew itself has the latest definitions <pre>brew update</pre>
# Ensure brew itself has the latest definitions <pre>brew update</pre>
# Install Octave <ref>Homebrew has updated some of its scripts. To install Octave as of May 14, 2020, provide the migrated full path by running <code>brew install homebrew/core/octave</code> instead. [Citation needed!]</ref><pre>brew install octave</pre>
# Install Octave <ref>Homebrew has updated some of its scripts. To install Octave as of May 14, 2020, provide the migrated full path by running <code>brew install homebrew/core/octave</code> instead. [Citation needed!]</ref><pre>brew install octave</pre>
{{Note|The entire installation process can '''take up to a few hours'''. Octave has many dependencies which will be downloaded and installed prior to Octave. Precompiled binary packages called 'bottles' are available with default options for Octave and many of its dependencies, which speed up the installation.}}


==== Further reading ====
==== Further reading ====
Line 60: Line 62:
The command below upgrades Octave and its dependencies to the latest Homebrew-supported versions:
The command below upgrades Octave and its dependencies to the latest Homebrew-supported versions:
<pre>brew update && brew upgrade octave</pre>
<pre>brew update && brew upgrade octave</pre>
Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours, but precompiled binary packages called 'bottles' are available with default options for Octave and many of its dependencies.


Octave has a built-in GUI (developed using Qt lib) installed by default so that gnuplot and other tools can use it directly. This GUI is always installed when installing Octave using Homebrew.
Octave has a built-in GUI (developed using Qt lib) installed by default so that gnuplot and other tools can use it directly. This GUI is always installed when installing Octave using Homebrew.