Octave for macOS: Difference between revisions

Jump to navigation Jump to search
(→‎Homebrew: I have explained the experimental built-in GUI by octave and the optional java dependency. Since gcc and gfortran are included in the octave formula, you don't need to install them manually, so I removed it .)
Line 102: Line 102:
This would install octave with the default dependencies. Note that the default dependencies include java runtime environment. If you do not have java installed, homebrew would guide you to do that. Or you can type {{Codeline|brew install octave --without-java}} to remove its dependency on java.
This would install octave with the default dependencies. Note that the default dependencies include java runtime environment. If you do not have java installed, homebrew would guide you to do that. Or you can type {{Codeline|brew install octave --without-java}} to remove its dependency on java.
By default octave does not include docs (used by `help` function) because it requires an entire LaTex environment. If you have MacTex installed (or homebrew would guide you to install it), you can add {{Codeline|--with-docs}} to the installation script:
By default octave does not include docs (used by `help` function) because it requires an entire LaTex environment. If you have MacTex installed (or homebrew would guide you to install it), you can add {{Codeline|--with-docs}} to the installation script:
{{brew install octave --with-docs --without-java}}
<pre>brew install octave --with-docs --without-java</pre>


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:
Anonymous user

Navigation menu