I tried to install GNU Octave on my Mac using Fink by this instruction http://wiki.octave.org/Octave_for_MacOS_X
I think I have followed all the instructions but I can't run Octave. How can I check if it is installed correctly? I tried typing 'octave' in the terminal but it says 'command not found'
Or, is there any easy instruction for Octave installation? I've found many install guides but they are all different and assumes some knowledge.
Follow the below steps to install GNU Octave on Windows: Step 1: Visit the official website using any web browser. Step 2: Click on the Download button. Step 3: Next window open now click on MS Windows. Step 4: Next screen will open now click on the Octave 6.4.0 installer.exe button highlighted on red square.
Octave for macOS. GNU Octave is primarily developed on GNU/Linux and other POSIX conformant systems. GNU Octave for macOS is readily available using package managers such as Fink, MacPorts, and Homebrew. An unofficial native macOS "Octave.app" distribution of GNU Octave is also available as either a dmg or Homebrew cask.
If you know the installation location, open the Script Editor application and write the following text in the editor window: if you wish to start the Octave GUI by default. If you want to start the Octave command-line interface (CLI), enter instead: With a script open in the Script Editor app on your Mac, choose "File > Export".
The Octave developers do not recommend a certain package manager. → Link to Octave package there. Follow the Anaconda installation instructions . conda create --name octave conda activate octave conda install -c conda-forge octave octave --gui → Link to Octave package there. Follow the Homebrew installation instructions .
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.
I already had XCode installed, so the rest:
Based on the instructions in this page, I ran:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
Following this guide, I ran:
brew tap homebrew/science
brew update && brew upgrade
brew install gfortran
brew install octave
Notice that you need this before you install gnuplot (or gnuplot won't see aqua as a valid terminal and you may get 'unknown or ambiguous terminal type' error).
Simply downloaded the latest version (1.1.0) dmg from SourceForge.
brew install gnuplot
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With