Octave for macOS: Difference between revisions

Jump to navigation Jump to search
101 bytes removed ,  16 May 2020
→‎Spack: Update format.
(→‎MacPorts: Adapt format.)
(→‎Spack: Update format.)
Line 87: Line 87:
'''Install GNU Octave using Spack:'''
'''Install GNU Octave using Spack:'''


* 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 [https://spack-tutorial.readthedocs.io/en/latest/ Spack tutorial].
# Follow [https://spack-tutorial.readthedocs.io/en/latest/ Spack tutorial].
# Update Spack by going to the local Spack repository (develop branch) folder and run <pre>git pull</pre>
# Install Octave <pre>spack install octave</pre>
# To use Octave we need to first load the package <pre>spack load octave</pre>


To install Octave, first we ensure that Spack itself has the latest definitions, by going to the local Spack repository (develop branch) folder and running the command:
{{Note|The entire installation process can '''take up to a few hours'''. Octave has many dependencies which will be downloaded and installed prior to Octave.}}
<pre>git pull</pre>


Then, we install the latest version of Octave:
In case of trouble, please visit the [https://github.com/spack/spack/issues Spack repo issues list], and browse through Octave related issues by writing <code>is:issue octave</code> in the filters box.
<pre>spack install octave</pre>
 
To use Octave we need to first load the package:
<pre>spack load octave</pre>
 
Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take up to a few hours.
 
In case of trouble, please visit the [https://github.com/spack/spack/issues Spack repo issues list], and browse through Octave related issues by writing in the filters box:
<pre>is:issue octave</pre>


==Create a launcher app with AppleScript==
==Create a launcher app with AppleScript==

Navigation menu