Octave for Debian systems: Difference between revisions

Jump to navigation Jump to search
→‎The right way: nicer looking table, move dev dependencies to the bottom, drop virtual packages and info box about gnuplot
(→‎Compiling from source: make it more obvious when build-dep is probably not what people want)
(→‎The right way: nicer looking table, move dev dependencies to the bottom, drop virtual packages and info box about gnuplot)
Line 58: Line 58:
! Dependency        !! Debian 8 Jessie (stable)            !! Ubuntu 14.04 Trusty Tahr (LTS)
! Dependency        !! Debian 8 Jessie (stable)            !! Ubuntu 14.04 Trusty Tahr (LTS)
|-
|-
| '''Required''' build tools
!colspan="3" style="text-align:center;" | Required build tools
||
|-
[https://packages.debian.org/jessie/gcc gcc]
| C compiler
[https://packages.debian.org/jessie/g++ g++]
|| [https://packages.debian.org/jessie/gcc gcc]
[https://packages.debian.org/jessie/gfortran gfortran]
|| [http://packages.ubuntu.com/trusty/gcc gcc]
[https://packages.debian.org/jessie/make make]
|-
||
| C++ compiler
[http://packages.ubuntu.com/trusty/gcc gcc]
|| [https://packages.debian.org/jessie/g++ g++]
[http://packages.ubuntu.com/trusty/g++ g++]
|| [http://packages.ubuntu.com/trusty/g++ g++]
[http://packages.ubuntu.com/trusty/gfortran gfortran]
|-
[http://packages.ubuntu.com/trusty/make make]
| Fortran compiler
|| [https://packages.debian.org/jessie/gfortran gfortran]
|| [http://packages.ubuntu.com/trusty/gfortran gfortran]
|-
| GNU make
|| [https://packages.debian.org/jessie/make make]
|| [http://packages.ubuntu.com/trusty/make make]
|-
!colspan="3" style="text-align:center;"| Required external packages
|-
| BLAS
|| [https://packages.debian.org/jessie/libblas-dev libblas-dev]
|| [http://packages.ubuntu.com/trusty/libblas-dev libblas-dev]
|-
|-
| '''Required''' external packages
| LAPACK
||
|| [https://packages.debian.org/jessie/liblapack-dev liblapack-dev]
[https://packages.debian.org/jessie/libblas-dev libblas-dev]
|| [http://packages.ubuntu.com/trusty/liblapack-dev liblapack-dev]
[https://packages.debian.org/jessie/liblapack-dev liblapack-dev]
[https://packages.debian.org/jessie/libpcre3-dev libpcre3-dev]
||
[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]
|-
|-
| '''Optional''' build tools for the development version
| PCRE
||
|| [https://packages.debian.org/jessie/libpcre3-dev libpcre3-dev]
[https://packages.debian.org/jessie/autoconf autoconf]
|| [http://packages.ubuntu.com/trusty/libpcre3-dev libpcre3-dev]
[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-bin librsvg2-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]
||
[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-bin librsvg2-bin]
[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]
|-
|-
|colspan="3"| '''Optional''', but ''strongly'' recommended. Check the [http://www.gnu.org/software/octave/doc/interpreter/External-Packages.html Octave manual] for more information on them.
!colspan="3"  style="text-align:center;"| ''Strongly'' recommended. Check the [http://www.gnu.org/software/octave/doc/interpreter/External-Packages.html Octave manual] for more information.
|-
|-
| ARPACK
| ARPACK
Line 131: Line 113:
|-
|-
| FLTK
| FLTK
|| [https://packages.debian.org/jessie/libfltk-dev libfltk-dev *]
|| [https://packages.debian.org/jessie/libfltk1.3-dev libfltk1.3-dev]
|| [http://packages.ubuntu.com/trusty/libfltk-dev libfltk-dev *]
|| [http://packages.ubuntu.com/trusty/libfltk1.3-dev libfltk1.3-dev]
|-
|-
| fontconfig
| fontconfig
Line 159: Line 141:
|-
|-
| GraphicsMagick++
| GraphicsMagick++
|| [https://packages.debian.org/jessie/libgraphicsmagick++-dev libgraphicsmagick++-dev *]
|| [https://packages.debian.org/jessie/libgraphicsmagick++1-dev libgraphicsmagick++1-dev]
|| [http://packages.ubuntu.com/trusty/libgraphicsmagick++-dev libgraphicsmagick++-dev *]
|| [http://packages.ubuntu.com/trusty/libgraphicsmagick++1-dev libgraphicsmagick++1-dev]
|-
|-
| HDF5
| HDF5
Line 187: Line 169:
|-
|-
| OpenGL
| OpenGL
|| [https://packages.debian.org/jessie/libgl-dev libgl-dev *]
|| [https://packages.debian.org/jessie/libgl1-mesa-dev libgl1-mesa-dev]
|| [http://packages.ubuntu.com/trusty/libgl-dev libgl-dev *]
|| [http://packages.ubuntu.com/trusty/libgl1-mesa-dev libgl1-mesa-dev]
|-
|-
| OSMesa
| OSMesa
Line 240: Line 222:
|| [http://packages.ubuntu.com/trusty/zlib1g-dev zlib1g-dev]
|| [http://packages.ubuntu.com/trusty/zlib1g-dev zlib1g-dev]
|-
|-
!colspan="3"  style="text-align:center;"|  Required to build from development sources
|-
| Autoconf
|| [https://packages.debian.org/jessie/autoconf autoconf]
|| [http://packages.ubuntu.com/trusty/autoconf autoconf]
|-
| Automake
|| [https://packages.debian.org/jessie/automake automake]
|| [http://packages.ubuntu.com/trusty/automake automake]
|-
| Bison
|| [https://packages.debian.org/jessie/bison bison]
|| [http://packages.ubuntu.com/trusty/bison bison]
|-
| Flex
|| [https://packages.debian.org/jessie/flex flex]
|| [http://packages.ubuntu.com/trusty/flex flex]
|-
| gperf
|| [https://packages.debian.org/jessie/gperf gperf]
|| [http://packages.ubuntu.com/trusty/gperf gperf]
|-
| gzip
|| [https://packages.debian.org/jessie/gzip gzip]
|| [http://packages.ubuntu.com/trusty/gzip gzip]
|-
| icoutils
|| [https://packages.debian.org/jessie/icoutils icoutils]
|| [http://packages.ubuntu.com/trusty/icoutils icoutils]
|-
| rsvg-convert
|| [https://packages.debian.org/jessie/librsvg2-bin librsvg2-bin]
|| [http://packages.ubuntu.com/trusty/librsvg2-bin librsvg2-bin]
|-
| libtool
|| [https://packages.debian.org/jessie/libtool libtool]
|| [http://packages.ubuntu.com/trusty/libtool libtool]
|-
| perl
|| [https://packages.debian.org/jessie/perl perl]
|| [http://packages.ubuntu.com/trusty/perl perl]
|-
| rsync
|| [https://packages.debian.org/jessie/rsync rsync]
|| [http://packages.ubuntu.com/trusty/rsync rsync]
|-
| tar
|| [https://packages.debian.org/jessie/tar tar]
|| [http://packages.ubuntu.com/trusty/tar tar]
|}
|}
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.}}


{{Warning|<ul><li>The Debian repositoriy has several libraries for dealing with HDF data files. The recommended is {{Codeline|libhdf5-serial-dev}}. However, the {{Forge|msh|msh package}} requires [http://www.geuz.org/gmsh/ gmsh] which is incompatible with it.</li>
{{Warning|<ul><li>The Debian repositoriy has several libraries for dealing with HDF data files. The recommended is {{Codeline|libhdf5-serial-dev}}. However, the {{Forge|msh|msh package}} requires [http://www.geuz.org/gmsh/ gmsh] which is incompatible with it.</li>
<li>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 32 before building Octave.</li></ul>}}
<li>The GraphicsMagick++ library (libgraphicsmagick++1-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 32 before building Octave.</li></ul>}}


=== Configuration ===
=== Configuration ===

Navigation menu