1,852
edits
(→Fink: Standard Xcode install instructions.) |
(→Package Managers: Standard Xcode install instructions.) |
||
Line 38: | Line 38: | ||
[https://brew.sh/ Homebrew] is a package management system that simplifies the installation of software on macOS. It is a free/open source software project to simplify installation of other free/open source software. It is similar in aim and function to MacPorts and Fink. It was written by Max Howell and has gained popularity in the Ruby on Rails community and earned praise for its extensibility. | [https://brew.sh/ Homebrew] is a package management system that simplifies the installation of software on macOS. It is a free/open source software project to simplify installation of other free/open source software. It is similar in aim and function to MacPorts and Fink. It was written by Max Howell and has gained popularity in the Ruby on Rails community and earned praise for its extensibility. | ||
Install GNU Octave using Homebrew: | '''Install GNU Octave using Homebrew:''' | ||
* Install [https://developer.apple.com/xcode/ Xcode] via the '''Mac App Store'''. | |||
*Install 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 | * Follow [https://brew.sh/ Homebrew's installation instructions]. | ||
*Follow [https://brew.sh/ Homebrew's installation instructions]. | * Ensure brew itself has the latest definitions by running <code>brew update</code> in the terminal. | ||
< | |||
Then, we install Octave | Then, we install Octave | ||
Line 90: | Line 85: | ||
'''Install GNU Octave using MacPorts:''' | '''Install GNU Octave using MacPorts:''' | ||
* 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>. | |||
* Follow the instruction given at the [https://www.macports.org/install.php MacPorts website]. | * Follow the instruction given at the [https://www.macports.org/install.php MacPorts website]. | ||
* Update your installation by running {{Codeline|sudo port selfupdate}} and {{Codeline|sudo port upgrade outdated}} in the terminal. | * Update your installation by running {{Codeline|sudo port selfupdate}} and {{Codeline|sudo port upgrade outdated}} in the terminal. | ||
Line 100: | Line 97: | ||
'''Install GNU Octave using Spack:''' | '''Install GNU Octave using Spack:''' | ||
* Install [https://developer.apple.com/xcode/ Xcode] via the '''Mac App Store'''. | |||
*Install 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 | |||
* Follow [https://spack-tutorial.readthedocs.io/en/latest/ Spack tutorial]. | * Follow [https://spack-tutorial.readthedocs.io/en/latest/ Spack tutorial]. | ||