Changes

Jump to navigation Jump to search

Octave for Debian systems

4,432 bytes added, 05:11, 23 July 2015
→‎The right way: Updated and lined the package information.
==== The right way ====
The best way is to select and install all the dependencies as listed in the {{Path|INSTALL.OCTAVE}} file. The following are their package names in Debian repositories (they will have their own dependencies which your package maintainer will solve automatically). 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. Install the dependencies by typing  sudo apt-get install followed by the package names of the table below.
* build tools
:<pre>g++ gcc gfortran make</pre>
* build tools (development version)
:<pre>autoconf automake bison flex gperf gzip icoutils librsvg2-bin libtool perl rsync tar</pre>
* external packages
:<pre>libblas-dev liblapack-dev libpcre3-dev</pre>
* optional but ''strongly'' recommended. Check the [http://www.gnu.org/software/octave/doc/interpreter/External-Packages.html Octave manual] for more information on them. Packages marked with * are virtual packages (you'll have to pick one of the displayed versions).
:{| class="wikitable"
|-
! Dependency !! Debian 8 Jessie (stable) !! Ubuntu 1314.1004 Trusty Tahr (LTS)|-| '''Required''' build tools||[https://packages.debian.org/jessie/gcc gcc][https://packages.debian.org/jessie/g++ g++][https://packages.debian.org/jessie/gfortran gfortran][https://packages.debian.org/jessie/make make]||[http://packages.ubuntu.com/trusty/gcc gcc][http://packages.ubuntu.com/trusty/g++ g++][http://packages.ubuntu.com/trusty/gfortran gfortran][http://packages.ubuntu.com/trusty/make make]
|-
| ARPACK '''Required''' external packages|| libarpack2[https://packages.debian.org/jessie/libblas-dev libblas-dev][https://packages.debian.org/jessie/liblapack-dev liblapack-dev][https://packages.debian.org/jessie/libpcre3-dev libpcre3-dev]|| libarpack2[http://packages.ubuntu.com/trusty/libblas-dev libblas-dev][http://packages.ubuntu.com/trusty/liblapack-dev liblapack-dev][http://packages.ubuntu.com/trusty/libpcre3-dev libpcre3-dev]
|-
| cURL '''Optional''' build tools for the development version|| libcurl4[https://packages.debian.org/jessie/autoconf autoconf][https://packages.debian.org/jessie/automake automake][https://packages.debian.org/jessie/bison bison][https://packages.debian.org/jessie/flex flex][https://packages.debian.org/jessie/gperf gperf][https://packages.debian.org/jessie/gzip gzip][https://packages.debian.org/jessie/icoutils icoutils][https://packages.debian.org/jessie/librsvg2-gnutlsbin librsvg2-dev bin][https://packages.debian.org/jessie/libtool libtool][https://packages.debian.org/jessie/perl perl][https://packages.debian.org/jessie/rsync rsync][https://packages.debian.org/jessie/tar tar]|| libcurl4[http://packages.ubuntu.com/trusty/autoconf autoconf][http://packages.ubuntu.com/trusty/automake automake][http://packages.ubuntu.com/trusty/bison bison][http://packages.ubuntu.com/trusty/flex flex][http://packages.ubuntu.com/trusty/gperf gperf][http://packages.ubuntu.com/trusty/gzip gzip][http://packages.ubuntu.com/trusty/icoutils icoutils][http://packages.ubuntu.com/trusty/librsvg2-gnutlsbin librsvg2-devbin][http://packages.ubuntu.com/trusty/libtool libtool][http://packages.ubuntu.com/trusty/perl perl][http://packages.ubuntu.com/trusty/rsync rsync][http://packages.ubuntu.com/trusty/tar tar]
|-
| epstool colspan="3"|| epstool || epstool'''Optional''', but ''strongly'' recommended. Check the [http://www.gnu.org/software/octave/doc/interpreter/External-Packages.html Octave manual] for more information on them.
|-
| FFTW3 ARPACK|| libfftw3[https://packages.debian.org/jessie/libarpack2-dev libarpack2-dev]|| libfftw3[http://packages.ubuntu.com/trusty/libarpack2-dev libarpack2-dev]
|-
| fig2dev cURL|| transfig [https://packages.debian.org/jessie/libcurl4-gnutls-dev libcurl4-gnutls-dev]|| transfig[http://packages.ubuntu.com/trusty/libcurl4-gnutls-dev libcurl4-gnutls-dev]
|-
| FLTK epstool|| libfltk-dev * [https://packages.debian.org/jessie/epstool epstool]|| libfltk-dev *[http://packages.ubuntu.com/trusty/epstool epstool]
|-
| fontconfig FFTW3|| libfontconfig1[https://packages.debian.org/jessie/libfftw3-dev libfftw3-dev]|| libfontconfig1[http://packages.ubuntu.com/trusty/libfftw3-dev libfftw3-dev]
|-
| FreeType fig2dev|| libfreetype6-dev [https://packages.debian.org/jessie/transfig transfig]|| libfreetype6-dev[http://packages.ubuntu.com/trusty/transfig transfig]
|-
| gl2ps FLTK|| libgl2ps[https://packages.debian.org/jessie/libfltk-dev libfltk-dev *]|| libgl2ps[http://packages.ubuntu.com/trusty/libfltk-dev libfltk-dev*]
|-
| GLPK fontconfig|| libglpk[https://packages.debian.org/jessie/libfontconfig1-dev libfontconfig1-dev]|| libglpk[http://packages.ubuntu.com/trusty/libfontconfig1-dev libfontconfig1-dev]
|-
| GNU Readline FreeType|| libreadline[https://packages.debian.org/jessie/libfreetype6-dev libfreetype6-dev]|| libreadline[http://packages.ubuntu.com/trusty/libfreetype6-dev libfreetype6-dev]
|-
| gnuplot gl2ps|| gnuplot [https://packages.debian.org/jessie/libgl2ps-dev libgl2ps-dev]|| gnuplot[http://packages.ubuntu.com/trusty/libgl2ps-dev libgl2ps-dev]
|-
| GraphicsMagick++ GLPK|| libgraphicsmagick++[https://packages.debian.org/jessie/libglpk-dev libglpk-dev]|| libgraphicsmagick++[http://packages.ubuntu.com/trusty/libglpk-dev libglpk-dev]
|-
| HDF5 GNU Readline|| libhdf5[https://packages.debian.org/jessie/libreadline-serialdev libreadline-dev ]|| libhdf5[http://packages.ubuntu.com/trusty/libreadline-serialdev libreadline-dev]
|-
| Java JDK gnuplot|| openjdk-7-jdk [https://packages.debian.org/jessie/gnuplot gnuplot]|| openjdk-7-jdk[http://packages.ubuntu.com/trusty/gnuplot gnuplot]
|-
| libsndfile GraphicsMagick++|| libsndfile1[https://packages.debian.org/jessie/libgraphicsmagick++-dev libgraphicsmagick++-dev *]|| libsndfile1[http://packages.ubuntu.com/trusty/libgraphicsmagick++-dev libgraphicsmagick++-dev*]
|-
| LLVM HDF5|| llvm[https://packages.debian.org/jessie/libhdf5-serial-dev libhdf5-serial-dev * ]|| llvm[http://packages.ubuntu.com/trusty/libhdf5-serial-dev libhdf5-serial-dev *]
|-
| lpr Java JDK|| lpr [https://packages.debian.org/jessie/openjdk-7-jdk openjdk-7-jdk]|| lpr[http://packages.ubuntu.com/trusty/openjdk-7-jdk openjdk-7-jdk]
|-
| makeinfo libsndfile|| texinfo [https://packages.debian.org/jessie/libsndfile1-dev libsndfile1-dev]|| texinfo[http://packages.ubuntu.com/trusty/libsndfile1-dev libsndfile1-dev]
|-
| OpenGL LLVM|| libgl[https://packages.debian.org/jessie/llvm-dev * llvm-dev]|| libgl[http://packages.ubuntu.com/trusty/llvm-dev llvm-dev *]
|-
| OSMesa lpr|| libosmesa6-dev [https://packages.debian.org/jessie/lpr lpr]|| libosmesa6-dev[http://packages.ubuntu.com/trusty/lpr lpr]
|-
| pstoedit makeinfo|| pstoedit [https://packages.debian.org/jessie/texinfo texinfo]|| pstoedit[http://packages.ubuntu.com/trusty/texinfo texinfo]
|-
| PortAudio OpenGL|| portaudio19[https://packages.debian.org/jessie/libgl-dev libgl-dev *]|| portaudio19[http://packages.ubuntu.com/trusty/libgl-dev libgl-dev*]
|-
| Qhull OSMesa|| libqhull[https://packages.debian.org/jessie/libosmesa6-dev libosmesa6-dev]|| libqhull[http://packages.ubuntu.com/trusty/libosmesa6-dev libosmesa6-dev]
|-
| QRUPDATE pstoedit|| libqrupdate-dev [https://packages.debian.org/jessie/pstoedit pstoedit]|| libqrupdate-dev[http://packages.ubuntu.com/trusty/pstoedit pstoedit]
|-
| QScintilla PortAudio|| libqscintilla2[https://packages.debian.org/jessie/portaudio19-dev portaudio19-dev]|| libqscintilla2[http://packages.ubuntu.com/trusty/portaudio19-dev portaudio19-dev]
|-
| Qt Qhull|| libqt4[https://packages.debian.org/jessie/libqhull-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4 libqt4-opengllibqhull-dev ]|| libqt4[http://packages.ubuntu.com/trusty/libqhull-dev libqtcore4 libqtwebkit4 libqt4libqhull-network libqtgui4dev]
|-
| SuiteSparse QRUPDATE|| libsuitesparse[https://packages.debian.org/jessie/libqrupdate-dev libqrupdate-dev]|| libsuitesparse[http://packages.ubuntu.com/trusty/libqrupdate-dev libqrupdate-dev]
|-
| Xft QScintilla|| libxft[https://packages.debian.org/jessie/libqscintilla2-dev libqscintilla2-dev]|| libxft[http://packages.ubuntu.com/trusty/libqscintilla2-dev libqscintilla2-dev]
|-
| Qt||[https://packages.debian.org/jessie/libqt4-dev libqt4-dev][https://packages.debian.org/jessie/libqtcore4 libqtcore4][https://packages.debian.org/jessie/libqtwebkit4 libqtwebkit4][https://packages.debian.org/jessie/libqt4-network libqt4-network][https://packages.debian.org/jessie/libqtgui4 libqtgui4]||[http://packages.ubuntu.com/trusty/libqt4-dev libqt4-dev][http://packages.ubuntu.com/trusty/libqtcore4 libqtcore4][http://packages.ubuntu.com/trusty/libqtwebkit4 libqtwebkit4][http://packages.ubuntu.com/trusty/libqt4-network libqt4-network][http://packages.ubuntu.com/trusty/libqtgui4 libqtgui4]|-| SuiteSparse|| [https://packages.debian.org/jessie/libsuitesparse-dev libsuitesparse-dev]|| [http://packages.ubuntu.com/trusty/libsuitesparse-dev libsuitesparse-dev]|-| Xft|| [https://packages.debian.org/jessie/libxft-dev libxft-dev]|| [http://packages.ubuntu.com/trusty/libxft-dev libxft-dev]|-| zlib || [https://packages.debian.org/jessie/zlib1g-dev zlib1g-dev]|| [http://packages.ubuntu.com/trusty/zlib1g-dev zlib1g-dev]
|-
|}
 
Packages marked with * in the table above are virtual packages (you'll have to pick one of the displayed versions).
{{Note|if only the native graphics toolkit will be used, gnuplot will not be necessary.}}

Navigation menu