Editing Octave for Windows Subsystem for Linux

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 12: Line 12:
 
= References =
 
= References =
 
<references />
 
<references />
 +
 +
 +
'''Note that a security related issue in Windows XP currently prevents Octave from retrieving packages from the website automatically. When running under that Operating System manual package installation is necessary.'''
 +
 +
=GNU Octave 4.4.1 on [https://cygwin.com/ cygwin]=
 +
 +
*'''Maintainer:''' Marco Atzeri
 +
*'''Latest release:''' 2018-08-17
 +
 +
*Latest packages:
 +
 +
:octave-4.4.1-1
 +
:Its announce on cygwin mailing list [https://www.cygwin.com/ml/cygwin-announce/2018-08/msg00021.html]
 +
 +
:Octave Forge packages have each a cygwin package.
 +
:Its announce on cygwin mailing list [https://cygwin.com/ml/cygwin-announce/2017-01/msg00078.html]
 +
: Full cygwin package list is available here [https://cygwin.com/packages/]
 +
: At 2017-04-06, 64 forge packages were available.
 +
 +
*To install :
 +
:  run cygwin setup-x86.exe (for cygwin 32 bit) or  setup-x86_64.exe (for cygwin 64 bit) and select them in the Math category.
 +
:  All the package dependencies will be also installed.
 +
 +
:Graphics is based on X and to plot you will need to start octave within xterm (or similar).
 +
:  I recommend to install "xinit", "xlaunch" and "gnuplot". These packages will pull all the functional Xserver.
 +
:  Otherwise the only graphics will be ASCII art ;-)
 +
 +
==Notes for cygwin==
 +
 +
*When building from development source (default branch)
 +
:    "make check"
 +
:passes almost all the tests. Only, and not substantial, failures are:
 +
:<syntaxhighlight lang="bash">
 +
/pub/hg/octave/src/data.cc : 8 failures due to different handling of complex Inf on sort
 +
/pub/hg/octave/src/syscalls.cc: 1 failure on fork. This disappears when octave is installed
 +
/pub/hg/octave/scripts/sparse/svds.m: 1 failure due to test sensitivity on starting point. See
 +
https://mailman.cae.wisc.edu/pipermail/octave-maintainers/2011-September/024715.html
 +
</syntaxhighlight>
 +
 +
* To build GNU Octave from cygwin source package, you need to install "cygport" and the relevant development libraries
 +
:<syntaxhighlight lang="bash">
 +
tar -xf octave-4.4.1-1-src.tar.xz
 +
cygport octave.cygport almostall
 +
</syntaxhighlight>
 +
:see [https://cygwinports.github.io/cygport/ cygport documentation] for further info.
 +
 +
=General info=
 +
 +
Be advised that GNU Octave is primarily developed on GNU/Linux and other [https://en.wikipedia.org/wiki/POSIX POSIX] conform systems. The ports of GNU Octave to Microsoft Windows use different approaches to get most of the original Octave and adapt it to Microsoft Windows idiosyncrasies (e.g. dynamic libraries, file paths, permissions, environment variables, GUI system, etc). Bear this in mind and don't panic if you get unexpected results. There are a lot of suggestions on the mailing lists for tuning your Octave installation. GNU Octave standalone ports for Windows are independently compiled using either the [http://mingw.org MinGW] or Microsoft Visual Studio development environments (3.6 or before).
 +
 +
=See also=
 +
 +
* [[Octave for Microsoft Windows (outdated)]] for older instructions.
  
 
[[Category:Installation]]
 
[[Category:Installation]]
 +
[[Category:Building]]
 
[[Category:Microsoft Windows]]
 
[[Category:Microsoft Windows]]

Please note that all contributions to Octave may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Octave:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: