Octave for macOS: Difference between revisions

From Octave
Jump to navigation Jump to search
(Initial edit)
 
(Add simple installation instructions for each package manager)
Line 8: Line 8:
=Installing a MacOS X Bundle=
=Installing a MacOS X Bundle=


App bundle's for Octave on MacOS are not being produced at the present time. The developers are currently encouraging the use of one of the three package managers available, for MacOS, for installation of Octave.
An App bundle for Octave on MacOS is not presently available. The developers would like to be able to provide an App bundle, but need volunteers to support the effort.  Octave and many other software packages may be installed an updated using one of the three package managers available for MacOS. To install using a package manager, see the section on [http://www.octave.org/wiki/index.php?title=Octave_for_MacOS_X&action=submit#Package_Managers Package Managers] below.


=Manual Installation from Source=
=Manual Installation from Source=


[http://www.octave.org/wiki/index.php?title=Octave_for_Mac Minimalistic] instructions for building Octave from source are available. Additional [http://www.gnu.org/software/octave/support.html support] for those who need assistance in building Octave is available.
The page [[Octave for Mac]] provides minimalistic instructions for building Octave from source on MacOS X. Additional [http://www.gnu.org/software/octave/support.html support] for those who need assistance in building Octave is available.


=Package Managers=
=Package Managers=
Line 21: Line 21:


There are three reputable package managers available for MacOS X. GNU Octave for MacOS X is readily available using [http://en.wikipedia.org/wiki/Package_management_system package managers] such as [http://www.finkproject.org/ Fink], [http://www.macports.org/ MacPorts], and [http://mxcl.github.com/homebrew/ Homebrew].
There are three reputable package managers available for MacOS X. GNU Octave for MacOS X is readily available using [http://en.wikipedia.org/wiki/Package_management_system package managers] such as [http://www.finkproject.org/ Fink], [http://www.macports.org/ MacPorts], and [http://mxcl.github.com/homebrew/ Homebrew].
The most recent version of Fink's Octave package, MacPorts' Octave port, and Homebrew's Octave formula are generally not the same. Please check the web sites for these package managers to determine if the version of Octave you desire is available.


==Fink==
==Fink==
Line 27: Line 29:


===Simple Installation Instructions===
===Simple Installation Instructions===
*Install XCode: This is done via the MacOS X App Store.
*Follow [http://www.finkproject.org/download/srcdist.php Fink's installation instructions].
*Fink has excellent support for Octave and includes recent as well as dated versions. A list of what Fink has available for Octave is [http://pdb.finkproject.org/pdb/browse.php?summary=octave here]. To install Octave-3.6.1, type {{Codeline|<nowiki>sudo fink install octave361</nowiki>}} at the Terminal's command line. Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours.


==MacPorts==
==MacPorts==
Line 33: Line 39:


===Simple Installation Instructions===
===Simple Installation Instructions===
*Install XCode: This is done via the MacOS X App Store.
*Follow [http://www.macports.org/install.php MacPorts' installation instructions].
*MacPorts has good support for Octave. A list of what MacPorts has available for Octave is [http://www.macports.org/ports.php?by=name&substr=octave here]. To install the most recent version of Octave, type {{Codeline|<nowiki>sudo port install octave-devel</nowiki>}} at the Terminal's command line. Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours.


==Homebrew==
==Homebrew==
Line 39: Line 49:


===Simple Installation Instructions===
===Simple Installation Instructions===
*Install XCode: This is done via the MacOS X App Store.
*Follow [https://github.com/mxcl/homebrew/wiki/installation Homebrew's installation instructions].
*[http://mxcl.github.com/homebrew/ Homebrew] has good support for Octave. To install Octave, type {{Codeline|<nowiki>brew install octave</nowiki>}} at the Terminal's command line. Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours.

Revision as of 12:02, 29 May 2012

GNU Octave is primarily developed on GNU/Linux and other POSIX conformal systems. GNU Octave for MacOS X is readily available using package managers such as Fink, MacPorts, and Homebrew.

About version numbers (Feb 2012):

  • The 3.6.x are current releases.
  • The 3.4.x are previous releases.
  • The 3.2.x are very old releases.

Installing a MacOS X Bundle

An App bundle for Octave on MacOS is not presently available. The developers would like to be able to provide an App bundle, but need volunteers to support the effort. Octave and many other software packages may be installed an updated using one of the three package managers available for MacOS. To install using a package manager, see the section on Package Managers below.

Manual Installation from Source

The page Octave for Mac provides minimalistic instructions for building Octave from source on MacOS X. Additional support for those who need assistance in building Octave is available.

Package Managers

A package manager, is a collection of software tools 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. 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, checksum, and a list of dependencies necessary for the software to run properly. Upon installation, metadata is stored in a local package database. Operating systems based on Linux and other Unix-like systems typically consist of hundreds or even thousands of distinct software packages; in the former case, a package management system is a convenience, in the latter case it becomes essential.

There are three reputable package managers available for MacOS X. GNU Octave for MacOS X is readily available using package managers such as Fink, MacPorts, and Homebrew.

The most recent version of Fink's Octave package, MacPorts' Octave port, and Homebrew's Octave formula are generally not the same. Please check the web sites for these package managers to determine if the version of Octave you desire is available.

Fink

The Fink project is an effort to port and package open-source Unix programs to MacOS X. Fink uses dpkg and APT (Debian's package management system), as well as its own frontend program, fink (which is implemented as a set of Perl modules).

Simple Installation Instructions

  • Install XCode: This is done via the MacOS X App Store.
  • Follow Fink's installation instructions.
  • Fink has excellent support for Octave and includes recent as well as dated versions. A list of what Fink has available for Octave is here. To install Octave-3.6.1, type sudo fink install octave361 at the Terminal's command line. Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours.

MacPorts

MacPorts, formerly called DarwinPorts, is a package management system that simplifies the installation of software on the MacOS X and Darwin operating systems. It is a free/open source software project to simplify installation of other free/open source software. Similar in aim and function to Fink and the BSDs' ports collections, 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.

Simple Installation Instructions

  • Install XCode: This is done via the MacOS X App Store.
  • Follow MacPorts' installation instructions.
  • MacPorts has good support for Octave. A list of what MacPorts has available for Octave is here. To install the most recent version of Octave, type sudo port install octave-devel at the Terminal's command line. Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours.

Homebrew

Homebrew is a package management system that simplifies the installation of software on the Mac OS X operating system. 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.

Simple Installation Instructions

  • Install XCode: This is done via the MacOS X App Store.
  • Follow Homebrew's installation instructions.
  • Homebrew has good support for Octave. To install Octave, type brew install octave at the Terminal's command line. Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours.