Octave for macOS: Difference between revisions
→Simple Installation Instructions: Since many beginners might want a GUI, corrected the instructions for installing with it.
(Wrong command) |
(→Simple Installation Instructions: Since many beginners might want a GUI, corrected the instructions for installing with it.) |
||
Line 130: | Line 130: | ||
* If running Mountain Lion (Mac OS 10.8) or later, install [https://xquartz.macosforge.org/landing/ XQuartz]. | * If running Mountain Lion (Mac OS 10.8) or later, install [https://xquartz.macosforge.org/landing/ XQuartz]. | ||
To install Octave, update to the latest package definitions, install {{Codeline|gfortran}} (Now you don't need to install it manually, it would be installed by dependency), and then Octave: | To install Octave, update to the latest package definitions, install {{Codeline|gfortran}} (Now you don't need to install it manually, it would be installed by dependency), and then Octave. | ||
<pre>brew update && brew upgrade octave | |||
brew install octave</pre> | First we ensure brew itself has the latest definitions: | ||
<pre>brew update && brew upgrade octave</pre> | |||
Then, we install Octave. To install only the command-line version use: | |||
<pre>brew install octave</pre> | |||
To install Octave with the Qt GUI, install qt then install Octave --with-qt: | |||
<pre>brew install qt | |||
brew install octave --with-qt</pre> | |||
This would install octave with the default dependencies. | This would install octave with the default dependencies. | ||