2
edits
(→Simple Installation Instructions: brew update && brew upgrade octave should change to brew update && brew upgrade (and vice versa below) brew install qt QT may ask you to upgrade your OS (I was running 10.10 and upgraded to 10.14) brew install o...) Tags: Mobile edit Mobile web edit |
|||
Line 133: | Line 133: | ||
First we ensure brew itself has the latest definitions: | First we ensure brew itself has the latest definitions: | ||
<pre>brew update && brew upgrade | <pre>brew update && brew upgrade</pre> | ||
Then, we install Octave. To install only the command-line version use: | Then, we install Octave. To install only the command-line version use: | ||
Line 143: | Line 143: | ||
This would install octave with the default dependencies. | This would install octave with the default dependencies. | ||
Note: QT may ask you to upgrade your OS (I was running 10.10 and had to upgrade to 10.14 to get it to work) | |||
Note: The second command above also asked me to upgrade XCode to 10, which takes some time (>5GB file) | |||
The default charting package in Octave is straight qt. However, on the Mac gnuplot often works better. To set up gnuplot, install (or reinstall) it with qt enabled: | The default charting package in Octave is straight qt. However, on the Mac gnuplot often works better. To set up gnuplot, install (or reinstall) it with qt enabled: | ||
Line 167: | Line 169: | ||
Note: If brew complains about not having a formula for octave, the following command should fix it: | Note: If brew complains about not having a formula for octave, the following command should fix it: | ||
<pre>brew tap --repair</pre> | <pre>brew tap --repair</pre> | ||
Note: If brew complains about unknown or ambiguous terminal type, and its possible you have installed gnuplot before, try running: | |||
<pre>brew reinstall gnuplot --with-qt</pre> | |||
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</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 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. |
edits