Source
The latest released version of Octave is always available from
Gnu Octave For Mac High Sierra
- https://ftp.gnu.org/gnu/octave
- ftp://ftp.gnu.org/gnu/octave
Please download fromhttps://ftpmirror.gnu.org/octave,which will redirect automatically to a nearbymirror site.
You can now install octave with gui on macOS with: homebrew install octave -with-qt or homebrew reinstall octave -with-qt (builds, so a bit slow). However, it hangs when you quit and you have to force quit as well as find and kill the process with ps aux grep octave. GNU Octave is software featuring a high-level programming language, primarily intended for numerical computations.Octave helps in solving linear and nonlinear problems numerically, and for performing other numerical experiments using a language that is mostly compatible with MATLAB.It may also be used as a batch-oriented language. Since it is part of the GNU Project, it is free software under. Download GNU Octave For Mac from here https://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/2013-12-30%20binary%20installer%20of%20Octave%20. Incidentally, I have installed Octave GNU today twice on two different machines (both running Lion). I needed the latest version of Octave (3.6.4), and used Homebrew. To install GNU Octave on a Mac is not as easy as on Microsoft Windows® or GNU/Linux. Open office for mac os x. Ready-to-use App bundles are outdated and/or do not run reliably. The installation with a package manager as MacPorts or Home Brew does not work out-of-the-box.
GNU/Linux
Packaged versions of Octave for GNU/Linux systems are provided by theindividual distributions described in theOctave wiki.These packages are created by volunteers.The delay between an Octave source release and the availability of a packagefor a particular GNU/Linux distribution varies.
Alternatively,there are some distribution independent installation methods for more recentversions of GNU Octave described in theOctave wiki.
macOS
The Octave Wiki has instructions forinstalling Octave on macOS systems.Octave is also available in third-party package managers such asHomebrew and MacPorts.
BSD
Executable versions of Octave for BSD systems are provided by the individualdistributions.Both FreeBSD and OpenBSDhave Octave packages.These packages are created by volunteers and the Octave project has no controlover that process.
Microsoft Windows
pkg list
to list them.Read more.
- Windows-64 (recommended)
- octave-5.2.0_1-w64-installer.exe(~ 300 MB)[signature]
- octave-5.2.0_1-w64.7z(~ 300 MB)[signature]
- octave-5.2.0_1-w64.zip(~ 530 MB)[signature]
- Windows-32 (old computers)
- octave-5.2.0_1-w32-installer.exe(~ 275 MB)[signature]
- octave-5.2.0_1-w32.7z(~ 258 MB)[signature]
- octave-5.2.0_1-w32.zip(~ 447 MB)[signature]
Windows-64 (64-bit linear algebra for large data)
Unless your computer has more than ~32GB of memoryand you need to solve linear algebra problemswith arrays containing more than ~2 billion elements, thisversion will offer no advantage over the recommended Windows-64version above.- octave-5.2.0_1-w64-64-installer.exe(~ 286 MB)[signature]
- octave-5.2.0_1-w64-64.7z(~ 279 MB)[signature]
- octave-5.2.0_1-w64-64.zip(~ 490 MB)[signature]
All Windows binaries with corresponding source code can be downloaded fromhttps://ftpmirror.gnu.org/octave/windows/.
Octave is a programming language for scientific computing.
Prerequisite
You might need homebrew-cask
; if you don't have it, refer to this section.
Installation
Homebrew Octave.app
Octave.app is a project to distribute GNU Octave as a native Mac GUI application, to make it easier to install and use Octave on macOS. Note this is not an official GNU or GNU Octave project.As this distributes a compiled version of Octave, installation will be much faster.
To install using homebrew-cask run:
Homebrew official
You can also install Octave from the official Homebrew source using the method below.
Install octave
from core Homebrew (which is available by default):
Note: If brew
complains about not having a formula for Octave, the following command should fix it:
Gnu Octave For Mac Keyboard
The command below upgrades Octave and its dependencies to the latest Homebrew-supported versions:
Octave has many dependencies which will be downloaded and installed prior to Octave. The entire installation process can take a few hours if you are compiling from source.
Note: On Snow Leopard or earlier, Octave requires an X server. You can download one from the XQuartz project.
You might find that you need to add:
Gnu Octave For Macos
to your octaverc file, normally located at /usr/local/share/octave/site/m/startup
.