Octave for macOS: Difference between revisions

48 bytes removed ,  16 May 2020
→‎MacPorts: Adapt format.
(→‎Homebrew: Shorten section introduction.)
(→‎MacPorts: Adapt format.)
Line 74: Line 74:
'''Install GNU Octave using MacPorts:'''
'''Install GNU Octave using MacPorts:'''


* Install [https://developer.apple.com/xcode/ Xcode] via the '''Mac App Store'''.
# Install [https://developer.apple.com/xcode/ Xcode] via the '''Mac App Store'''.
** Install the '''Command Line Tools''' by [https://support.apple.com/guide/terminal/open-or-quit-terminal-apd5265185d-f365-44cb-8b09-71a064a42125/mac opening a terminal] and type <code>sudo xcode-select --install</code>.
#* Install the '''Command Line Tools''' by [https://support.apple.com/guide/terminal/open-or-quit-terminal-apd5265185d-f365-44cb-8b09-71a064a42125/mac opening a terminal] and type <pre>sudo xcode-select --install</pre>
* Follow the instruction given at the [https://www.macports.org/install.php MacPorts website].
# Follow [https://www.macports.org/install.php MacPorts' installation instructions].
* Update your installation by running {{Codeline|sudo port selfupdate}} and {{Codeline|sudo port upgrade outdated}} in the terminal.
# Update your installation <pre>sudo port selfupdate&#10;sudo port upgrade outdated</pre>
* Run {{Codeline|sudo port install octave}}.
# Install Octave <pre>sudo port install octave</pre>


===Spack===
===Spack===