Octave for macOS: Difference between revisions

Jump to navigation Jump to search
1,179 bytes removed ,  14 January 2021
→‎Package Managers: Let Wikipedia teach macOS users about package managers.
(→‎MacPorts: Now supports Octave 6.1.0.)
(→‎Package Managers: Let Wikipedia teach macOS users about package managers.)
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
GNU Octave is primarily developed on GNU/Linux and other POSIX conformant systems.  On macOS systems GNU Octave can be installed
On macOS systems GNU Octave can be installed by:
* from a single [https://en.wikipedia.org/wiki/Apple_Disk_Image dmg-file], a macOS App Bundle called "Octave.app" in recent versions, or
# macOS App Bundles '''"Octave.app"''' (a single [https://en.wikipedia.org/wiki/Apple_Disk_Image dmg-file])
* by using a macOS [[#Package Managers|package manager]].
# macOS [[#Package Managers|package managers]].


{{Note|'''GNU Octave {{Release}}''' is the current stable release.}}
{{Note|'''GNU Octave {{Release}}''' is the current stable release.}}
Line 7: Line 7:
== macOS App Bundles ==
== macOS App Bundles ==


The [https://octave-app.org/ Octave.app project] ([https://github.com/octave-app GitHub page]) provides an unofficial ready-to-use macOS App Bundle installer based on [[#Homebrew|Homebrew]] (see below).
The [https://octave-app.org/ Octave.app project] provides an unofficial ready-to-use macOS App Bundle installer based on [[#Homebrew|Homebrew]] (see below).
* [https://octave-app.org/Developer-Downloads.html macOS App Bundle of Octave 5.2.0 Beta (with GUI)]
* [https://github.com/octave-app/octave-app/releases Download installer from GitHub]
* [https://octave-app.org/Download.html macOS App Bundle of Octave 4.4.x (with GUI)]


An older installer is hosted on SourceForge.
A '''very old''' installer is hosted on SourceForge.
* [https://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/2016-07-11-binary-octave-4.0.3/octave_gui_403_appleblas.dmg/download macOS App Bundle of Octave 4.0.3 (with GUI)]  (OS X 10.9+)
* [https://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/2016-07-11-binary-octave-4.0.3/octave_gui_403_appleblas.dmg/download macOS App Bundle of Octave 4.0.3 (with GUI)]  (OS X 10.9+)


== Package Managers ==
== Package Managers ==


A package manager is a software tool to automate the process of installing, upgrading, configuring, and removing software packages for a computer's operating system in a consistent manner. It typically maintains a database of software dependencies and version information to prevent software mismatches and missing prerequisites.
All [https://en.wikipedia.org/wiki/Package_manager package managers] below are given in alphabetical order.  The Octave developers do not recommend a certain package manager.
 
Packages are distributions of software, applications and data. Packages also contain metadata, such as the software's name, description of its purpose, version number, vendor, checksums, and a list of dependencies necessary for the software to run properly. Upon installation, metadata is stored in a local package database.
 
All package managers below are given in alphabetical order.  The Octave developers do not recommend a certain package manager.


=== Homebrew ===
=== Homebrew ===
→ ''Latest Octave: [https://formulae.brew.sh/formula/octave Version 6.1.0]''
→ ''Link to [https://formulae.brew.sh/formula/octave Octave package] there.''


[https://brew.sh/ Homebrew] was written 2009 by Max Howell and has gained popularity in the Ruby on Rails community and earned praise for its extensibility.
[https://brew.sh/ Homebrew] was written 2009 by Max Howell and has gained popularity in the Ruby on Rails community and earned praise for its extensibility.
Line 34: Line 29:
# Ensure brew itself has the latest definitions <pre>brew update</pre>
# Ensure brew itself has the latest definitions <pre>brew update</pre>
# Install Octave <ref>Homebrew has updated some of its scripts. To install Octave as of May 14, 2020, provide the migrated full path by running <code>brew install homebrew/core/octave</code> instead. [Citation needed!]</ref><pre>brew install octave</pre>
# Install Octave <ref>Homebrew has updated some of its scripts. To install Octave as of May 14, 2020, provide the migrated full path by running <code>brew install homebrew/core/octave</code> instead. [Citation needed!]</ref><pre>brew install octave</pre>
{{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. Precompiled binary packages called 'bottles' are available with default options for Octave and many of its dependencies, which speed up the installation.}}


==== Further reading ====
==== Further reading ====
Line 68: Line 61:


=== MacPorts ===
=== MacPorts ===
→ ''Latest Octave: [https://github.com/macports/macports-ports/blob/master/math/octave/Portfile Version 6.1.0]''
→ ''Link to [https://github.com/macports/macports-ports/blob/master/math/octave/Portfile Octave package] there.''


[http://www.macports.org/ MacPorts], formerly called DarwinPorts, was started in 2002 as part of the OpenDarwin project, with the involvement of a number of Apple Inc. employees including Landon Fuller, Kevin Van Vechten, and Jordan Hubbard.
[http://www.macports.org/ MacPorts], formerly called DarwinPorts, was started in 2002 as part of the OpenDarwin project, with the involvement of a number of Apple Inc. employees including Landon Fuller, Kevin Van Vechten, and Jordan Hubbard.
Line 81: Line 74:


===Spack===
===Spack===
→ ''Latest Octave: [https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/octave/package.py Version 6.1.0]''
→ ''Link to [https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/octave/package.py Octave package] there.''


[https://spack.io/ Spack] is a package management tool that supports the installation of multiple versions of software on macOS and other operating systems. It was created 2013 by Todd Gamblin and is currently being updated and developed by a large list of contributors (mainly via [https://github.com/spack/spack GitHub]).
[https://spack.io/ Spack] is a package management tool that supports the installation of multiple versions of software on macOS and other operating systems. It was created 2013 by Todd Gamblin and is currently being updated and developed by a large list of contributors (mainly via [https://github.com/spack/spack GitHub]).

Navigation menu