Jump to navigation Jump to search

Octave for Debian systems

166 bytes removed, 13:08, 1 January 2014
→‎Compiling from source: update build instructions for new release
=== Dependencies ===
{{Note|different Debian and Ubuntu versions may have slightly different package names but their differences should be pretty small, mostly limited to version numbers.}}
==== The easy way ====
The easy way to install ''most'' of the necessary dependencies is to {{Codeline|sudo apt-get build-dep octave}}. This will install all packages necessary to build and prepare a Debian package for the octave version available on your system repositories. However:
* will install unecessary unnecessary packages related to the building of a Debian package;
* may miss some new dependencies;
* may install packages that are no longer octave dependencies.
{{Warning|Debian repositories has several libraries for dealing with HDF data files. The recommended is {{Codeline|libhdf5-serial-dev}}. However, the {{Forge|msh|msh package}} requires [ gmsh] which is incompatible with it.}}
{{Warning|the GraphicsMagick++ library (libgraphicsmagick++-dev) on the Debian repositories was compiled with quantum 8 which limits reading images to 8 bit. The solution is to recompile [[GraphicsMagick]] with quantum
16 or 32before building Octave.}}
{{Note|if only the native graphics toolkit will be used, gnuplot will not be necessary.}}
| FreeType || libfreetype6-dev || libfreetype6-dev
| gl2ps || libgl2ps-dev || libgl2ps-dev
| GLPK || libglpk-dev || libglpk-dev
| HDF5 || libhdf5-serial-dev || libhdf5-serial-dev
| Java JDK || openjdk-7-jdk || openjdk-7-jdk
| LLVM || libfftw3-dev || libfftw3-dev
| OpenGL || libgl-dev * || libgl-dev *
| QRUPDATE || libqrupdate-dev || libqrupdate-dev
| QScintilla || libqscintilla2-dev || libqscintilla2-dev
| Qt || libqt4-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4 || libqt4-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4
| SuiteSparse || libsuitesparse-dev || libsuitesparse-dev
==== 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.
Note that the current development release you shuld run {{Codeline|./bootstrap}} instead of the old {{Codeline|./autogen}}
* development tools
:<pre>autoconf automake bison flex gperf gzip libtool make perl rsync tar</pre>
* dependencies extra ependencies for the development releaseversion:{| class="wikitable"|-! Dependency !! Debian Squeeze !! Ubuntu 13.10|-| GTK theme? || gtk2-engines-pixbuf || gtk2-engines-pixbuf|-| gl2ps || libgl2ps-dev || libgl2ps-dev|-| Java JDK || openjdk-7-jdk || openjdk-7-jdk|-| LLVM || libfftw3-dev || libfftw3-dev|-| QScintilla || libqscintilla2-dev || libqscintilla2-dev|-| Qt || libqt4-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4 || libqt4-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4|-|}''None at the moment''

Navigation menu