Octave for Debian systems: Difference between revisions

move list of dependencies from development to stable release
(→‎extra dependencies for the development version: fix dependency name (missing -dev for development headers))
(move list of dependencies from development to stable release)
Line 1: Line 1:
For Debian, and Debian based distributions such as Ubuntu, specific solutions.  
For Debian, and Debian based distributions such as Ubuntu, specific solutions.


== Pre-compiled binaries ==
== Pre-compiled binaries ==
Line 9: Line 9:
  sudo apt-get install octave
  sudo apt-get install octave


Aside the {{codeline|octave}} package that installs GNU Octave, other pieces of it are split over multiple packages. These are {{codeline|octave-doc}}, {{codeline|octave-info}}, and {{codeline|octave-htmldoc}} for the documentation, {{codeline|liboctave-dev}} for the octave development library and required to install some Octave Forge packages, and {{codeline|octave-dbg}} for the debugging symbols.
Aside the {{codeline|octave}} package that installs GNU Octave, other pieces of it are split over multiple packages. These are {{codeline|octave-doc}}, {{codeline|octave-info}}, and {{codeline|octave-htmldoc}} for the documentation; {{codeline|liboctave-dev}} for the octave development header files and mkoctfile, which are required to install Octave Forge packages; and {{codeline|octave-dbg}} for the debugging symbols.


For Debian stable users, there may also be newer packages available in backports, so don't forget to check there.
For Debian stable users, there may also be newer packages available in backports, so don't forget to check there.
Line 22: Line 22:


== Compiling from source ==
== Compiling from source ==
The only ''tricky'' part is to install the dependencies. Once that is solved, installing from source should be as easy as {{Codeline|./configure && make && make install}}. See the manual for the [http://www.gnu.org/software/octave/doc/interpreter/Running-Configure-and-Make.html configure options].
The only ''tricky'' part is to install the dependencies. Once that is solved, installing from source should be as easy as {{Codeline|./configure && make && make install}}. See the manual for the [http://www.gnu.org/software/octave/doc/interpreter/Running-Configure-and-Make.html configure options].


Line 61: Line 62:
:{| class="wikitable"
:{| class="wikitable"
|-
|-
! Dependency        !! Debian Squeeze(Old Stable)           !! Ubuntu 13.10
! Dependency        !! Debian Jessie (stable)               !! Ubuntu 13.10
|-
|-
| ARPACK            || libarpack2-dev                      || libarpack2-dev
| ARPACK            || libarpack2-dev                      || libarpack2-dev
Line 92: Line 93:
|-
|-
| Java JDK          || openjdk-7-jdk                        || openjdk-7-jdk
| Java JDK          || openjdk-7-jdk                        || openjdk-7-jdk
|-
| libsndfile        || libsndfile1-dev                      || libsndfile1-dev
|-
|-
| LLVM              || llvm-dev *                          || llvm-dev *
| LLVM              || llvm-dev *                          || llvm-dev *
Line 100: Line 103:
|-
|-
| OpenGL            || libgl-dev *                          || libgl-dev *
| OpenGL            || libgl-dev *                          || libgl-dev *
|-
| OSMesa            || libosmesa6-dev                      || libosmesa6-dev
|-
|-
| pstoedit          || pstoedit                            || pstoedit
| pstoedit          || pstoedit                            || pstoedit
|-
| PortAudio        || portaudio19-dev                      || portaudio19-dev
|-
|-
| Qhull            || libqhull-dev                        || libqhull-dev
| Qhull            || libqhull-dev                        || libqhull-dev
Line 109: Line 116:
| QScintilla        || libqscintilla2-dev                  || libqscintilla2-dev
| QScintilla        || libqscintilla2-dev                  || libqscintilla2-dev
|-
|-
| Qt                || libqt4-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4 || libqt4-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4
| Qt                || libqt4-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4 libqt4-opengl-dev || libqt4-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4
|-
|-
| SuiteSparse      || libsuitesparse-dev                  || libsuitesparse-dev
| SuiteSparse      || libsuitesparse-dev                  || libsuitesparse-dev
Line 120: Line 127:


==== Building development version ====
==== Building development version ====
If you are building development versions, you'll require some more packages as listed on {{Path|etc/HACKING}} and {{Path|INSTALL}}. Many of them will already be installed on your system.


===== development tools =====
If you are building development versions, you'll require some more packages
as listed on {{Path|etc/HACKING}} and {{Path|INSTALL}}. Many of them will
already be installed on your system.
 
===== Development tools =====
 
<pre>autoconf automake bison flex gperf gzip icoutils librsvg2-bin libtool perl rsync tar</pre>
<pre>autoconf automake bison flex gperf gzip icoutils librsvg2-bin libtool perl rsync tar</pre>


===== extra dependencies for the development version =====
===== Extra dependencies for the development version =====
 
At the moment, thereare no extra dependencies to build the development version.


:{| class="wikitable"
:{| class="wikitable"
|-
|-
! Dependency        !! Debian Wheezy (stable)  !! Debian Jessie (testing)
! Dependency        !! Debian Jessie (testing)
|-
| libsndfile        || libsndfile1-dev        || libsndfile1-dev
|-
| PortAudio        || portaudio19-dev        || portaudio19-dev
|-
| OSMesa            || [[Build libosmesa]]    || libosmesa6-dev
|-
| Qt                || libqt4-opengl-dev      || libqt4-opengl-dev
|-
|-
|}
|}