Octave for Debian systems: Difference between revisions

m
(→‎Configuration: Remove 64-bit section, as it is incomplete, not Debian specific, and already mentioned in Building now.)
Line 74: Line 74:
=== Configuration ===
=== Configuration ===


As mentioned above, Octave can be compiled with the default settings using {{Codeline|./configure && make && make install}}. You can also tweak the setup using configure options. Some examples are given below for a Linux system.
Some Debian and Ubuntu specific configure tweaks are listed below:


==== Java ====
==== Java ====


Autodetection for java should work well on Debian-based systems. A specific Java version can be specified by passing {{codeline|JAVA_HOME}} to configure, for example
Autodetection for Java should work well on Debian-based systems. A specific Java version can be specified by passing {{codeline|JAVA_HOME}} to configure, for example


  ./configure JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
  ./configure JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
Line 84: Line 84:
==== HDF5 ====
==== HDF5 ====


On current versions of Debian and Ubuntu, you may get the following warning when building an older version of Octave from source:
On older versions of Debian and Ubuntu, you may get the following warning when building an older version of Octave from source:


  HDF5 library not found.  Octave will not be able to save or load HDF5 data files.
  HDF5 library not found.  Octave will not be able to save or load HDF5 data files.