How to Use Octave in Cygwin


Octave is a software package for performing scientific and numeric calculations. It is open-source, available for a variety of operating systems, and mostly compatible with MATLAB. Octave provides a high-level interpreted language for executing mathematical functions, as well as an extensive range of graphical capabilities for data visualization.

Octave was originally created to run on Unix and Linux, and so it works quite well with Cygwin. Octave can be installed from the Cygwin setup utility.

  • Start the Cygwin installation utility, setup.exe.

  • Click "Next" and choose "Install from Internet" as a download source. Click "Next" on the next few screens to accept the default parameters. Continue until you reach the Select Packages screen.

  • Type "octave" in the search window. You should find four packages in the Math category. On the line for the "octave" package, under the New column, click on "Skip" to change it to the latest version. Do the same for the other packages if you need them.

  • Click "Next." At this point the installer may ask you to install other packages to resolve dependencies; make sure the "Select required packages" box is checked, then click "Next."

  • Wait while Cygwin downloads and installs the packages.

  • Click the boxes to create icons if you need them, then click "Finish."

  • Start Cygwin and type "octave." The program should start and give you the Octave command prompt. When you are finished using Octave, type "exit" to quit the program.

  • Type "exit" again to quit Cygwin.

Related Searches


  • Photo Credit Stockbyte/Stockbyte/Getty Images
Promoted By Zergnet



Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

Is DIY in your DNA? Become part of our maker community.
Submit Your Work!