https://wiki.octave.org/wiki/api.php?action=feedcontributions&user=JasonHnicholson&feedformat=atomOctave - User contributions [en]2024-03-29T09:01:58ZUser contributionsMediaWiki 1.39.2https://wiki.octave.org/wiki/index.php?title=Octave_for_Debian_systems&diff=3126Octave for Debian systems2013-09-08T02:21:16Z<p>JasonHnicholson: Not everyone will understand what a PPA is. I did not when I started with Octave in Linux.</p>
<hr />
<div>For Debian, and Debian based distributions such as Ubuntu, specific solutions. <br />
<br />
== Pre-compiled binaries ==<br />
<br />
Binary packages for Octave and many Octave-Forge packages are provided by all versions of Debian and Ubuntu. These are the most well-tested binaries available and should work best for most users.<br />
<br />
Octave is often split over multiple packages to cover the different parts of it. Aside the {{codeline|octave}} package that installs GNU Octave, there is also {{codeline|octave-doc}}, {{codeline|octave-info}}, and {{codeline|octave-htmldoc}} for the documentation, {{codeline|liboctave-dev}} for the octave development library (required to install most packages), and {{codeline|octave-dbg}} for the debugging symbols.<br />
<br />
=== Troubleshooting ===<br />
<br />
When installing Octave 3.2 in Ubuntu, broken packages install may cause an <span color="red">error: `pkg' undefined</span> error, previously reported as [https://bugs.launchpad.net/ubuntu/+source/octave3.2/+bug/465005 bug 465005]:<br />
<br />
...<br />
Setting up octave3.2 (3.2.2-2build1) ...<br />
error: `pkg' undefined near line 0 column 1<br />
<br />
dpkg: error processing octave3.2 (--configure):<br />
subprocess installed post-installation script returned error exit status 1<br />
Processing triggers for libc-bin ...<br />
ldconfig deferred processing now taking place<br />
Processing triggers for menu ...<br />
Errors were encountered while processing:<br />
octave3.2<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)<br />
<br />
Fix this by complete reinstall:<br />
<br />
sudo apt-get --purge remove octave3.2<br />
sudo apt-get --purge remove octave3.2-common<br />
sudo apt-get install octave3.2<br />
<br />
== Octave's Personal Package Archive (PPA) ==<br />
<br />
However, for some Ubuntu releases the octave packages are old. The [https://launchpad.net/~octave GNU Octave Team] on Launchpad maintain a PPA providing a binary packages of the latest stable and unstable versions of Octave for all versions of Ubuntu. To set up your system to install these packages<br />
<br />
sudo apt-add-repository ppa:octave/stable<br />
sudo apt-add-repository ppa:octave/unstable<br />
sudo apt-get update<br />
sudo apt-get install octave<br />
<br />
== Compiling from source ==<br />
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#Running-Configure-and-Make configure options].<br />
<br />
=== Dependencies ===<br />
{{Note|different Debian versions may have slightly different package names but their differences should be pretty small, mostly limited to version numbers.}}<br />
==== The easy way ====<br />
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:<br />
* will install unecessary packages related to the building of a Debian package;<br />
* may miss some new dependencies;<br />
* may install packages that are no longer octave dependencies.<br />
<br />
==== The right way ====<br />
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).<br />
<br />
{{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 [http://www.geuz.org/gmsh/ gmsh] which is incompatible with it.}}<br />
{{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 <br />
32.}}<br />
{{Note|if only the native graphics toolkit will be used, gnuplot will not be necessary.}}<br />
<br />
* build tools<br />
:<pre>g++ gcc gfortran make</pre><br />
* external packages<br />
:<pre>libblas-dev liblapack-dev libpcre3-dev</pre><br />
* 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).<br />
:{| class="wikitable"<br />
|-<br />
! Dependency !! Debian Squeeze !! Ubuntu X<br />
|-<br />
| ARPACK || libarpack2-dev || <br />
|-<br />
| cURL || libcurl4-gnutls-dev || <br />
|-<br />
| FFTW3 || libfftw3-dev || <br />
|-<br />
| FLTK || libfltk-dev * || <br />
|-<br />
| fontconfig || libfontconfig1-dev ||<br />
|-<br />
| FreeType || libfreetype6-dev || <br />
|-<br />
| GLPK || libglpk-dev || <br />
|-<br />
| GNU Readline || libreadline-dev || <br />
|-<br />
| gnuplot || gnuplot || <br />
|-<br />
| GraphicsMagick++ || libgraphicsmagick++-dev || <br />
|-<br />
| HDF5 || libhdf5-serial-dev || <br />
|-<br />
| OpenGL || libgl-dev * || <br />
|-<br />
| Qhull || libqhull-dev || <br />
|-<br />
| QRUPDATE || libqrupdate-dev || <br />
|-<br />
| SuiteSparse || libsuitesparse-dev || <br />
|-<br />
| makeinfo || texinfo || <br />
|-<br />
| zlib || zlib1g-dev || <br />
|-<br />
|}<br />
<br />
==== Building development version ====<br />
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.<br />
<br />
Note that the current development release you shuld run {{Codeline|./bootstrap}} instead of the old {{Codeline|./autogen}}<br />
<br />
* development tools<br />
:<pre>autoconf automake bison flex gperf gzip libtool make perl rsync tar</pre><br />
* dependencies for the development release<br />
:{| class="wikitable"<br />
|-<br />
! Dependency !! Debian Squeeze !! Ubuntu X<br />
|-<br />
| GTK theme? || gtk2-engines-pixbuf || <br />
|-<br />
| Java JDK || openjdk-7-jdk || <br />
|-<br />
| LLVM || libfftw3-dev || <br />
|-<br />
| QScintilla || libqscintilla2-8 || <br />
|-<br />
| Qt || libqtcore4 libqtwebkit4 libqt4-network libqtgui4 || <br />
|-<br />
|}<br />
<br />
[[Category:Installation]]</div>JasonHnicholsonhttps://wiki.octave.org/wiki/index.php?title=Octave_for_Debian_systems&diff=3125Octave for Debian systems2013-09-08T02:19:29Z<p>JasonHnicholson: Fixing grammar</p>
<hr />
<div>For Debian, and Debian based distributions such as Ubuntu, specific solutions. <br />
<br />
== Pre-compiled binaries ==<br />
<br />
Binary packages for Octave and many Octave-Forge packages are provided by all versions of Debian and Ubuntu. These are the most well-tested binaries available and should work best for most users.<br />
<br />
Octave is often split over multiple packages to cover the different parts of it. Aside the {{codeline|octave}} package that installs GNU Octave, there is also {{codeline|octave-doc}}, {{codeline|octave-info}}, and {{codeline|octave-htmldoc}} for the documentation, {{codeline|liboctave-dev}} for the octave development library (required to install most packages), and {{codeline|octave-dbg}} for the debugging symbols.<br />
<br />
=== Troubleshooting ===<br />
<br />
When installing Octave 3.2 in Ubuntu, broken packages install may cause an <span color="red">error: `pkg' undefined</span> error, previously reported as [https://bugs.launchpad.net/ubuntu/+source/octave3.2/+bug/465005 bug 465005]:<br />
<br />
...<br />
Setting up octave3.2 (3.2.2-2build1) ...<br />
error: `pkg' undefined near line 0 column 1<br />
<br />
dpkg: error processing octave3.2 (--configure):<br />
subprocess installed post-installation script returned error exit status 1<br />
Processing triggers for libc-bin ...<br />
ldconfig deferred processing now taking place<br />
Processing triggers for menu ...<br />
Errors were encountered while processing:<br />
octave3.2<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)<br />
<br />
Fix this by complete reinstall:<br />
<br />
sudo apt-get --purge remove octave3.2<br />
sudo apt-get --purge remove octave3.2-common<br />
sudo apt-get install octave3.2<br />
<br />
== Octave's PPA ==<br />
<br />
However, for some Ubuntu releases the octave packages are old. The [https://launchpad.net/~octave GNU Octave Team] on Launchpad maintain a PPA providing a binary packages of the latest stable and unstable versions of Octave for all versions of Ubuntu. To set up your system to install these packages<br />
<br />
sudo apt-add-repository ppa:octave/stable<br />
sudo apt-add-repository ppa:octave/unstable<br />
sudo apt-get update<br />
sudo apt-get install octave<br />
<br />
== Compiling from source ==<br />
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#Running-Configure-and-Make configure options].<br />
<br />
=== Dependencies ===<br />
{{Note|different Debian versions may have slightly different package names but their differences should be pretty small, mostly limited to version numbers.}}<br />
==== The easy way ====<br />
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:<br />
* will install unecessary packages related to the building of a Debian package;<br />
* may miss some new dependencies;<br />
* may install packages that are no longer octave dependencies.<br />
<br />
==== The right way ====<br />
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).<br />
<br />
{{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 [http://www.geuz.org/gmsh/ gmsh] which is incompatible with it.}}<br />
{{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 <br />
32.}}<br />
{{Note|if only the native graphics toolkit will be used, gnuplot will not be necessary.}}<br />
<br />
* build tools<br />
:<pre>g++ gcc gfortran make</pre><br />
* external packages<br />
:<pre>libblas-dev liblapack-dev libpcre3-dev</pre><br />
* 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).<br />
:{| class="wikitable"<br />
|-<br />
! Dependency !! Debian Squeeze !! Ubuntu X<br />
|-<br />
| ARPACK || libarpack2-dev || <br />
|-<br />
| cURL || libcurl4-gnutls-dev || <br />
|-<br />
| FFTW3 || libfftw3-dev || <br />
|-<br />
| FLTK || libfltk-dev * || <br />
|-<br />
| fontconfig || libfontconfig1-dev ||<br />
|-<br />
| FreeType || libfreetype6-dev || <br />
|-<br />
| GLPK || libglpk-dev || <br />
|-<br />
| GNU Readline || libreadline-dev || <br />
|-<br />
| gnuplot || gnuplot || <br />
|-<br />
| GraphicsMagick++ || libgraphicsmagick++-dev || <br />
|-<br />
| HDF5 || libhdf5-serial-dev || <br />
|-<br />
| OpenGL || libgl-dev * || <br />
|-<br />
| Qhull || libqhull-dev || <br />
|-<br />
| QRUPDATE || libqrupdate-dev || <br />
|-<br />
| SuiteSparse || libsuitesparse-dev || <br />
|-<br />
| makeinfo || texinfo || <br />
|-<br />
| zlib || zlib1g-dev || <br />
|-<br />
|}<br />
<br />
==== Building development version ====<br />
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.<br />
<br />
Note that the current development release you shuld run {{Codeline|./bootstrap}} instead of the old {{Codeline|./autogen}}<br />
<br />
* development tools<br />
:<pre>autoconf automake bison flex gperf gzip libtool make perl rsync tar</pre><br />
* dependencies for the development release<br />
:{| class="wikitable"<br />
|-<br />
! Dependency !! Debian Squeeze !! Ubuntu X<br />
|-<br />
| GTK theme? || gtk2-engines-pixbuf || <br />
|-<br />
| Java JDK || openjdk-7-jdk || <br />
|-<br />
| LLVM || libfftw3-dev || <br />
|-<br />
| QScintilla || libqscintilla2-8 || <br />
|-<br />
| Qt || libqtcore4 libqtwebkit4 libqt4-network libqtgui4 || <br />
|-<br />
|}<br />
<br />
[[Category:Installation]]</div>JasonHnicholsonhttps://wiki.octave.org/wiki/index.php?title=Octave_for_Debian_systems&diff=3124Octave for Debian systems2013-09-08T02:16:34Z<p>JasonHnicholson: Fixing grammar</p>
<hr />
<div>For Debian, and Debian based distributions such as Ubuntu, specific solutions. <br />
<br />
== Pre-compiled binaries ==<br />
<br />
Binary packages for Octave and many Octave-Forge packages are provided by all versions of Debian and Ubuntu. These are the most well-tested binaries available and should work best for most users.<br />
<br />
Octave is often split over multiple packages to cover the different parts of it. Aside the {{codeline|octave}} package that installs GNU Octave, there is also {{codeline|octave-doc}}, {{codeline|octave-info}}, and {{codeline|octave-htmldoc}} for the documentation, {{codeline|liboctave-dev}} for the octave development library (required to install most packages), and {{codeline|octave-dbg}} for the debugging symbols.<br />
<br />
=== Troubleshooting ===<br />
<br />
When installing Octave 3.2 in Ubuntu, broken packages install may cause an <span color="red">error: `pkg' undefined</span> error, previously reported as [https://bugs.launchpad.net/ubuntu/+source/octave3.2/+bug/465005 bug 465005]:<br />
<br />
...<br />
Setting up octave3.2 (3.2.2-2build1) ...<br />
error: `pkg' undefined near line 0 column 1<br />
<br />
dpkg: error processing octave3.2 (--configure):<br />
subprocess installed post-installation script returned error exit status 1<br />
Processing triggers for libc-bin ...<br />
ldconfig deferred processing now taking place<br />
Processing triggers for menu ...<br />
Errors were encountered while processing:<br />
octave3.2<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)<br />
<br />
Fix this by complete reinstall:<br />
<br />
sudo apt-get --purge remove octave3.2<br />
sudo apt-get --purge remove octave3.2-common<br />
sudo apt-get install octave3.2<br />
<br />
== Octave's PPA ==<br />
<br />
However, for some Ubuntu releases the octave packages are old. The [https://launchpad.net/~octave GNU Octave Team] on Launchpad maintain a PPA providing a binary packages of the latest stable and unstable versions of Octave for all versions of Ubuntu. To set up your system to install these packages<br />
<br />
sudo apt-add-repository ppa:octave/stable<br />
sudo apt-add-repository ppa:octave/unstable<br />
sudo apt-get update<br />
sudo apt-get install octave<br />
<br />
== Compiling from source ==<br />
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#Running-Configure-and-Make configure options].<br />
<br />
=== Dependencies ===<br />
{{Note|different Debian versions may have slightly different package names but their differences should be pretty small, mostly limited to version numbers.}}<br />
==== The easy way ====<br />
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:<br />
* will install unecessary packages related to the building of a Debian package;<br />
* may miss some new dependencies;<br />
* may install packages that are no longer octave dependencies.<br />
<br />
==== The right way ====<br />
The best way is to select and install all the dependencies as listed on the {{Path|INSTALL.OCTAVE}} file. The following is their package names in Debian repositories (they will have their own dependencies which your package maintainer will solve automatically).<br />
<br />
{{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 [http://www.geuz.org/gmsh/ gmsh] which is incompatible with it.}}<br />
{{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 <br />
32.}}<br />
{{Note|if only the native graphics toolkit will be used, gnuplot will not be necessary.}}<br />
<br />
* build tools<br />
:<pre>g++ gcc gfortran make</pre><br />
* external packages<br />
:<pre>libblas-dev liblapack-dev libpcre3-dev</pre><br />
* 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).<br />
:{| class="wikitable"<br />
|-<br />
! Dependency !! Debian Squeeze !! Ubuntu X<br />
|-<br />
| ARPACK || libarpack2-dev || <br />
|-<br />
| cURL || libcurl4-gnutls-dev || <br />
|-<br />
| FFTW3 || libfftw3-dev || <br />
|-<br />
| FLTK || libfltk-dev * || <br />
|-<br />
| fontconfig || libfontconfig1-dev ||<br />
|-<br />
| FreeType || libfreetype6-dev || <br />
|-<br />
| GLPK || libglpk-dev || <br />
|-<br />
| GNU Readline || libreadline-dev || <br />
|-<br />
| gnuplot || gnuplot || <br />
|-<br />
| GraphicsMagick++ || libgraphicsmagick++-dev || <br />
|-<br />
| HDF5 || libhdf5-serial-dev || <br />
|-<br />
| OpenGL || libgl-dev * || <br />
|-<br />
| Qhull || libqhull-dev || <br />
|-<br />
| QRUPDATE || libqrupdate-dev || <br />
|-<br />
| SuiteSparse || libsuitesparse-dev || <br />
|-<br />
| makeinfo || texinfo || <br />
|-<br />
| zlib || zlib1g-dev || <br />
|-<br />
|}<br />
<br />
==== Building development version ====<br />
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.<br />
<br />
Note that the current development release you shuld run {{Codeline|./bootstrap}} instead of the old {{Codeline|./autogen}}<br />
<br />
* development tools<br />
:<pre>autoconf automake bison flex gperf gzip libtool make perl rsync tar</pre><br />
* dependencies for the development release<br />
:{| class="wikitable"<br />
|-<br />
! Dependency !! Debian Squeeze !! Ubuntu X<br />
|-<br />
| GTK theme? || gtk2-engines-pixbuf || <br />
|-<br />
| Java JDK || openjdk-7-jdk || <br />
|-<br />
| LLVM || libfftw3-dev || <br />
|-<br />
| QScintilla || libqscintilla2-8 || <br />
|-<br />
| Qt || libqtcore4 libqtwebkit4 libqt4-network libqtgui4 || <br />
|-<br />
|}<br />
<br />
[[Category:Installation]]</div>JasonHnicholsonhttps://wiki.octave.org/wiki/index.php?title=Octave_for_Debian_systems&diff=3123Octave for Debian systems2013-09-08T02:15:49Z<p>JasonHnicholson: /* Octave's PPA */</p>
<hr />
<div>For Debian, and Debian based distributions such as Ubuntu, specific solutions. <br />
<br />
== Pre-compiled binaries ==<br />
<br />
Binary packages for Octave and many Octave-Forge packages are provided by all versions of Debian and Ubuntu. These are the most well-tested binaries available and should work best for most users.<br />
<br />
Octave is often split over multiple packages to cover the different parts of it. Aside the {{codeline|octave}} package that installs GNU Octave, there is also {{codeline|octave-doc}}, {{codeline|octave-info}}, and {{codeline|octave-htmldoc}} for the documentation, {{codeline|liboctave-dev}} for the octave development library (required to install most packages), and {{codeline|octave-dbg}} for the debugging symbols.<br />
<br />
=== Troubleshooting ===<br />
<br />
When installing Octave 3.2 in Ubuntu, broken packages install may cause an <span color="red">error: `pkg' undefined</span> error, previously reported as [https://bugs.launchpad.net/ubuntu/+source/octave3.2/+bug/465005 bug 465005]:<br />
<br />
...<br />
Setting up octave3.2 (3.2.2-2build1) ...<br />
error: `pkg' undefined near line 0 column 1<br />
<br />
dpkg: error processing octave3.2 (--configure):<br />
subprocess installed post-installation script returned error exit status 1<br />
Processing triggers for libc-bin ...<br />
ldconfig deferred processing now taking place<br />
Processing triggers for menu ...<br />
Errors were encountered while processing:<br />
octave3.2<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)<br />
<br />
Fix this by complete reinstall:<br />
<br />
sudo apt-get --purge remove octave3.2<br />
sudo apt-get --purge remove octave3.2-common<br />
sudo apt-get install octave3.2<br />
<br />
== Octave's PPA ==<br />
<br />
However, for some Ubuntu releases the octave package is old. The [https://launchpad.net/~octave GNU Octave Team] on Launchpad maintain a PPA providing a binary packages of the latest stable and unstable versions of Octave for all versions of Ubuntu. To set up your system to install these packages<br />
<br />
sudo apt-add-repository ppa:octave/stable<br />
sudo apt-add-repository ppa:octave/unstable<br />
sudo apt-get update<br />
sudo apt-get install octave<br />
<br />
== Compiling from source ==<br />
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#Running-Configure-and-Make configure options].<br />
<br />
=== Dependencies ===<br />
{{Note|different Debian versions may have slightly different package names but their differences should be pretty small, mostly limited to version numbers.}}<br />
==== The easy way ====<br />
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:<br />
* will install unecessary packages related to the building of a Debian package;<br />
* may miss some new dependencies;<br />
* may install packages that are no longer octave dependencies.<br />
<br />
==== The right way ====<br />
The best way is to select and install all the dependencies as listed on the {{Path|INSTALL.OCTAVE}} file. The following is their package names in Debian repositories (they will have their own dependencies which your package maintainer will solve automatically).<br />
<br />
{{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 [http://www.geuz.org/gmsh/ gmsh] which is incompatible with it.}}<br />
{{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 <br />
32.}}<br />
{{Note|if only the native graphics toolkit will be used, gnuplot will not be necessary.}}<br />
<br />
* build tools<br />
:<pre>g++ gcc gfortran make</pre><br />
* external packages<br />
:<pre>libblas-dev liblapack-dev libpcre3-dev</pre><br />
* 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).<br />
:{| class="wikitable"<br />
|-<br />
! Dependency !! Debian Squeeze !! Ubuntu X<br />
|-<br />
| ARPACK || libarpack2-dev || <br />
|-<br />
| cURL || libcurl4-gnutls-dev || <br />
|-<br />
| FFTW3 || libfftw3-dev || <br />
|-<br />
| FLTK || libfltk-dev * || <br />
|-<br />
| fontconfig || libfontconfig1-dev ||<br />
|-<br />
| FreeType || libfreetype6-dev || <br />
|-<br />
| GLPK || libglpk-dev || <br />
|-<br />
| GNU Readline || libreadline-dev || <br />
|-<br />
| gnuplot || gnuplot || <br />
|-<br />
| GraphicsMagick++ || libgraphicsmagick++-dev || <br />
|-<br />
| HDF5 || libhdf5-serial-dev || <br />
|-<br />
| OpenGL || libgl-dev * || <br />
|-<br />
| Qhull || libqhull-dev || <br />
|-<br />
| QRUPDATE || libqrupdate-dev || <br />
|-<br />
| SuiteSparse || libsuitesparse-dev || <br />
|-<br />
| makeinfo || texinfo || <br />
|-<br />
| zlib || zlib1g-dev || <br />
|-<br />
|}<br />
<br />
==== Building development version ====<br />
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.<br />
<br />
Note that the current development release you shuld run {{Codeline|./bootstrap}} instead of the old {{Codeline|./autogen}}<br />
<br />
* development tools<br />
:<pre>autoconf automake bison flex gperf gzip libtool make perl rsync tar</pre><br />
* dependencies for the development release<br />
:{| class="wikitable"<br />
|-<br />
! Dependency !! Debian Squeeze !! Ubuntu X<br />
|-<br />
| GTK theme? || gtk2-engines-pixbuf || <br />
|-<br />
| Java JDK || openjdk-7-jdk || <br />
|-<br />
| LLVM || libfftw3-dev || <br />
|-<br />
| QScintilla || libqscintilla2-8 || <br />
|-<br />
| Qt || libqtcore4 libqtwebkit4 libqt4-network libqtgui4 || <br />
|-<br />
|}<br />
<br />
[[Category:Installation]]</div>JasonHnicholsonhttps://wiki.octave.org/wiki/index.php?title=Octave_for_Debian_systems&diff=3122Octave for Debian systems2013-09-08T02:13:47Z<p>JasonHnicholson: /* Troubleshooting */</p>
<hr />
<div>For Debian, and Debian based distributions such as Ubuntu, specific solutions. <br />
<br />
== Pre-compiled binaries ==<br />
<br />
Binary packages for Octave and many Octave-Forge packages are provided by all versions of Debian and Ubuntu. These are the most well-tested binaries available and should work best for most users.<br />
<br />
Octave is often split over multiple packages to cover the different parts of it. Aside the {{codeline|octave}} package that installs GNU Octave, there is also {{codeline|octave-doc}}, {{codeline|octave-info}}, and {{codeline|octave-htmldoc}} for the documentation, {{codeline|liboctave-dev}} for the octave development library (required to install most packages), and {{codeline|octave-dbg}} for the debugging symbols.<br />
<br />
=== Troubleshooting ===<br />
<br />
When installing Octave 3.2 in Ubuntu, broken packages install may cause an <span color="red">error: `pkg' undefined</span> error, previously reported as [https://bugs.launchpad.net/ubuntu/+source/octave3.2/+bug/465005 bug 465005]:<br />
<br />
...<br />
Setting up octave3.2 (3.2.2-2build1) ...<br />
error: `pkg' undefined near line 0 column 1<br />
<br />
dpkg: error processing octave3.2 (--configure):<br />
subprocess installed post-installation script returned error exit status 1<br />
Processing triggers for libc-bin ...<br />
ldconfig deferred processing now taking place<br />
Processing triggers for menu ...<br />
Errors were encountered while processing:<br />
octave3.2<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)<br />
<br />
Fix this by complete reinstall:<br />
<br />
sudo apt-get --purge remove octave3.2<br />
sudo apt-get --purge remove octave3.2-common<br />
sudo apt-get install octave3.2<br />
<br />
== Octave's PPA ==<br />
<br />
However, for some Ubuntu releases the octave package is too old. The [https://launchpad.net/~octave GNU Octave Team] on Launchpad maintains a PPA providing binary packages of the latest stable and unstable versions of Octave for all versions of Ubuntu. To set up your system to install these packages<br />
<br />
sudo apt-add-repository ppa:octave/stable<br />
sudo apt-add-repository ppa:octave/unstable<br />
sudo apt-get update<br />
sudo apt-get install octave<br />
<br />
== Compiling from source ==<br />
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#Running-Configure-and-Make configure options].<br />
<br />
=== Dependencies ===<br />
{{Note|different Debian versions may have slightly different package names but their differences should be pretty small, mostly limited to version numbers.}}<br />
==== The easy way ====<br />
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:<br />
* will install unecessary packages related to the building of a Debian package;<br />
* may miss some new dependencies;<br />
* may install packages that are no longer octave dependencies.<br />
<br />
==== The right way ====<br />
The best way is to select and install all the dependencies as listed on the {{Path|INSTALL.OCTAVE}} file. The following is their package names in Debian repositories (they will have their own dependencies which your package maintainer will solve automatically).<br />
<br />
{{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 [http://www.geuz.org/gmsh/ gmsh] which is incompatible with it.}}<br />
{{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 <br />
32.}}<br />
{{Note|if only the native graphics toolkit will be used, gnuplot will not be necessary.}}<br />
<br />
* build tools<br />
:<pre>g++ gcc gfortran make</pre><br />
* external packages<br />
:<pre>libblas-dev liblapack-dev libpcre3-dev</pre><br />
* 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).<br />
:{| class="wikitable"<br />
|-<br />
! Dependency !! Debian Squeeze !! Ubuntu X<br />
|-<br />
| ARPACK || libarpack2-dev || <br />
|-<br />
| cURL || libcurl4-gnutls-dev || <br />
|-<br />
| FFTW3 || libfftw3-dev || <br />
|-<br />
| FLTK || libfltk-dev * || <br />
|-<br />
| fontconfig || libfontconfig1-dev ||<br />
|-<br />
| FreeType || libfreetype6-dev || <br />
|-<br />
| GLPK || libglpk-dev || <br />
|-<br />
| GNU Readline || libreadline-dev || <br />
|-<br />
| gnuplot || gnuplot || <br />
|-<br />
| GraphicsMagick++ || libgraphicsmagick++-dev || <br />
|-<br />
| HDF5 || libhdf5-serial-dev || <br />
|-<br />
| OpenGL || libgl-dev * || <br />
|-<br />
| Qhull || libqhull-dev || <br />
|-<br />
| QRUPDATE || libqrupdate-dev || <br />
|-<br />
| SuiteSparse || libsuitesparse-dev || <br />
|-<br />
| makeinfo || texinfo || <br />
|-<br />
| zlib || zlib1g-dev || <br />
|-<br />
|}<br />
<br />
==== Building development version ====<br />
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.<br />
<br />
Note that the current development release you shuld run {{Codeline|./bootstrap}} instead of the old {{Codeline|./autogen}}<br />
<br />
* development tools<br />
:<pre>autoconf automake bison flex gperf gzip libtool make perl rsync tar</pre><br />
* dependencies for the development release<br />
:{| class="wikitable"<br />
|-<br />
! Dependency !! Debian Squeeze !! Ubuntu X<br />
|-<br />
| GTK theme? || gtk2-engines-pixbuf || <br />
|-<br />
| Java JDK || openjdk-7-jdk || <br />
|-<br />
| LLVM || libfftw3-dev || <br />
|-<br />
| QScintilla || libqscintilla2-8 || <br />
|-<br />
| Qt || libqtcore4 libqtwebkit4 libqt4-network libqtgui4 || <br />
|-<br />
|}<br />
<br />
[[Category:Installation]]</div>JasonHnicholsonhttps://wiki.octave.org/wiki/index.php?title=Octave_for_Debian_systems&diff=3121Octave for Debian systems2013-09-08T02:13:24Z<p>JasonHnicholson: /* Troubleshooting */</p>
<hr />
<div>For Debian, and Debian based distributions such as Ubuntu, specific solutions. <br />
<br />
== Pre-compiled binaries ==<br />
<br />
Binary packages for Octave and many Octave-Forge packages are provided by all versions of Debian and Ubuntu. These are the most well-tested binaries available and should work best for most users.<br />
<br />
Octave is often split over multiple packages to cover the different parts of it. Aside the {{codeline|octave}} package that installs GNU Octave, there is also {{codeline|octave-doc}}, {{codeline|octave-info}}, and {{codeline|octave-htmldoc}} for the documentation, {{codeline|liboctave-dev}} for the octave development library (required to install most packages), and {{codeline|octave-dbg}} for the debugging symbols.<br />
<br />
=== Troubleshooting ===<br />
<br />
When installing Octave 3.2 in Ubuntu, broken packages install may cause a <span color="red">error: `pkg' undefined</span> error, previously reported as [https://bugs.launchpad.net/ubuntu/+source/octave3.2/+bug/465005 bug 465005]:<br />
<br />
...<br />
Setting up octave3.2 (3.2.2-2build1) ...<br />
error: `pkg' undefined near line 0 column 1<br />
<br />
dpkg: error processing octave3.2 (--configure):<br />
subprocess installed post-installation script returned error exit status 1<br />
Processing triggers for libc-bin ...<br />
ldconfig deferred processing now taking place<br />
Processing triggers for menu ...<br />
Errors were encountered while processing:<br />
octave3.2<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)<br />
<br />
Fix this by complete reinstall:<br />
<br />
sudo apt-get --purge remove octave3.2<br />
sudo apt-get --purge remove octave3.2-common<br />
sudo apt-get install octave3.2<br />
<br />
== Octave's PPA ==<br />
<br />
However, for some Ubuntu releases the octave package is too old. The [https://launchpad.net/~octave GNU Octave Team] on Launchpad maintains a PPA providing binary packages of the latest stable and unstable versions of Octave for all versions of Ubuntu. To set up your system to install these packages<br />
<br />
sudo apt-add-repository ppa:octave/stable<br />
sudo apt-add-repository ppa:octave/unstable<br />
sudo apt-get update<br />
sudo apt-get install octave<br />
<br />
== Compiling from source ==<br />
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#Running-Configure-and-Make configure options].<br />
<br />
=== Dependencies ===<br />
{{Note|different Debian versions may have slightly different package names but their differences should be pretty small, mostly limited to version numbers.}}<br />
==== The easy way ====<br />
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:<br />
* will install unecessary packages related to the building of a Debian package;<br />
* may miss some new dependencies;<br />
* may install packages that are no longer octave dependencies.<br />
<br />
==== The right way ====<br />
The best way is to select and install all the dependencies as listed on the {{Path|INSTALL.OCTAVE}} file. The following is their package names in Debian repositories (they will have their own dependencies which your package maintainer will solve automatically).<br />
<br />
{{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 [http://www.geuz.org/gmsh/ gmsh] which is incompatible with it.}}<br />
{{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 <br />
32.}}<br />
{{Note|if only the native graphics toolkit will be used, gnuplot will not be necessary.}}<br />
<br />
* build tools<br />
:<pre>g++ gcc gfortran make</pre><br />
* external packages<br />
:<pre>libblas-dev liblapack-dev libpcre3-dev</pre><br />
* 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).<br />
:{| class="wikitable"<br />
|-<br />
! Dependency !! Debian Squeeze !! Ubuntu X<br />
|-<br />
| ARPACK || libarpack2-dev || <br />
|-<br />
| cURL || libcurl4-gnutls-dev || <br />
|-<br />
| FFTW3 || libfftw3-dev || <br />
|-<br />
| FLTK || libfltk-dev * || <br />
|-<br />
| fontconfig || libfontconfig1-dev ||<br />
|-<br />
| FreeType || libfreetype6-dev || <br />
|-<br />
| GLPK || libglpk-dev || <br />
|-<br />
| GNU Readline || libreadline-dev || <br />
|-<br />
| gnuplot || gnuplot || <br />
|-<br />
| GraphicsMagick++ || libgraphicsmagick++-dev || <br />
|-<br />
| HDF5 || libhdf5-serial-dev || <br />
|-<br />
| OpenGL || libgl-dev * || <br />
|-<br />
| Qhull || libqhull-dev || <br />
|-<br />
| QRUPDATE || libqrupdate-dev || <br />
|-<br />
| SuiteSparse || libsuitesparse-dev || <br />
|-<br />
| makeinfo || texinfo || <br />
|-<br />
| zlib || zlib1g-dev || <br />
|-<br />
|}<br />
<br />
==== Building development version ====<br />
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.<br />
<br />
Note that the current development release you shuld run {{Codeline|./bootstrap}} instead of the old {{Codeline|./autogen}}<br />
<br />
* development tools<br />
:<pre>autoconf automake bison flex gperf gzip libtool make perl rsync tar</pre><br />
* dependencies for the development release<br />
:{| class="wikitable"<br />
|-<br />
! Dependency !! Debian Squeeze !! Ubuntu X<br />
|-<br />
| GTK theme? || gtk2-engines-pixbuf || <br />
|-<br />
| Java JDK || openjdk-7-jdk || <br />
|-<br />
| LLVM || libfftw3-dev || <br />
|-<br />
| QScintilla || libqscintilla2-8 || <br />
|-<br />
| Qt || libqtcore4 libqtwebkit4 libqt4-network libqtgui4 || <br />
|-<br />
|}<br />
<br />
[[Category:Installation]]</div>JasonHnicholsonhttps://wiki.octave.org/wiki/index.php?title=Octave_for_GNU/Linux&diff=3119Octave for GNU/Linux2013-09-07T21:20:36Z<p>JasonHnicholson: </p>
<hr />
<div>The recommended way for installing Octave and Octave-Forge packages on GNU/Linux systems <br />
is via each distribution package installation system.<br />
<br />
More detailed instructions follow.<br />
<br />
=Debian and Debian-based (such as Ubuntu)=<br />
<br />
Either use {{Codeline|aptitude}} or {{Codeline|apt-get}}:<br />
<br />
# aptitude install octave<version> octave<version>-doc<br />
<br />
where {{Codeline|<version>}} must be substituted by the appropriate string.<br />
<br />
The Octave-Forge packages are spread over many Debian packages. All Octave-Forge packages will probably be found with the command: <br />
<br />
$ aptitude search ?description\(octave-forge\)<br />
<br />
For more details, see the [[Debian]] specific instructions page.<br />
=Ubuntu 12.04=<br />
The package can be obtained from the Software Center but the Octave package is old (3.2). The most current stable version is available through a Personal Package Archive (PPA). You will need to add the PPA to you system. Execute the following in a terminal:<br />
<br />
sudo apt-add-repository ppa:octave/stable<br />
sudo apt-get update<br />
<br />
If you need more information on adding a repository, visit [https://launchpad.net/~octave/+archive/stable GNU Octave Stable Releases] PPA. You can now install from the Software Center or a terminal.<br />
<br />
To install Octave with documentation execute the following in a terminal:<br />
<br />
sudo apt-get install octave octave-doc octave-info octave-htmldoc<br />
<br />
If you want to be able to build packages from Octave Forge, you will want liboctave-dev package:<br />
<br />
sudo apt-get install liboctave-dev<br />
<br />
If you want Octave debugging symbols, use the following:<br />
<br />
sudo apt-get install octave-dbg<br />
=Fedora=<br />
The packages can be installed using the yum command, they are:<br />
<br />
*octave<br />
*octave-devel<br />
*octave-forge<br />
<br />
{{Codeline|octave-forge}} is recommended to all users, as it provides many extra functions. {{Codeline|octave-devel}} contains the octave headers and {{Path|mkoctfile}} script and is really only needed by users who are developing code that is to be dynamically linked to octave. {{Codeline|octave}} and {{Codeline|octave-forge}} can be installed with the command:<br />
<br />
# yum install octave-forge<br />
<br />
By default, yum will most likely install blas and lapack as your matrix math libraries, but ATLAS is usually much faster. If you want to install atlas with octave, use the command<br />
<br />
# yum install octave-forge atlas<br />
<br />
Note that if you are using an i386-compatible processor the base atlas package is not optimized for newer hardware. If you have newer hardware, you can get even better performance with the atlas-3dnow (AMD K6 processors), atlas-sse (Pentium III or newer), or atlas-sse2 (Pentium 4 or newer).<br />
<br />
=Gentoo=<br />
Octave is available through Gentoo's package management system, Portage:<br />
<br />
# emerge sync<br />
# emerge octave<br />
# emerge octave-forge (optional)<br />
<br />
=Red Hat Enterprise=<br />
<br />
Octave is available for Red Hat Enterprise Linux distributions through the [https://fedoraproject.org/wiki/EPEL EPEL] repository. This section applies to CentOS, Scientific Linux, and other Red Hat Enterprise rebuild distributions as well.<br />
<br />
First, follow [https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F these instructions] to set up your system to install packages from EPEL. For example,<br />
<br />
# wget <nowiki>http://url/to/latest/epel-release-6-7.noarch.rpm</nowiki><br />
# yum localinstall epel-release-6-7.noarch.rpm<br />
<br />
Once the EPEL repository has been enabled, you can follow the rest of the [[#Fedora|instructions for Fedora]] to install Octave using yum.<br />
<br />
Note that EPEL intentionally does not follow new releases as closely as other distributions. Consequently, the version of Octave provided by EPEL may be several months or years out of date. There are plans for the Octave maintainers to provide support and binary RPMs for enterprise GNU/Linux distributions, contact the [mailto:maintainers@octave.org maintainers mailing list] for more information.<br />
<br />
=Red Hat=<br />
<br />
GNU Octave is included with Red Hat. If you are still using an old version of Red Hat and want a newer version of GNU Octave, your best options are to consider updating your distribution to a recent Fedora release or compile octave from source.<br />
<br />
Note that RH 7.x distributions (as well as Red Hat Enterprise Linux 2.1) have included an old version of GCC (pre 3.x). It is known that GCC 2.96 (included in RH7.3) can compile GNU Octave (as of version 2.1.57), but the resulting binary will be bad. Red Hat made available RPMs for GCC 3.1-5 through http://rhn.redhat.com (those RPMs may be available on other RPM repositories).<br />
<br />
=SUSE Linux Enterprise and openSUSE=<br />
Octave 3.6.2 is included in the science repository with SLE 11 SP2 and openSUSE 11.4, 12.1, 12.2<br />
<br />
[http://download.opensuse.org/repositories/science/ OBS science]<br />
<br />
For example, for openSUSE 12.2 you would do:<br />
<br />
# zypper ar http://download.opensuse.org/repositories/science/openSUSE_12.2/ science<br />
# zypper refresh<br />
# zypper install octave octave-devel<br />
<br />
for other versions change the version number in the first command accordingly.<br />
<br />
2012-08-21: arpack-ng and SuiteSparse 4.0 bindings which were broken before are again functional, if you have a previous version of the rpm's installed consider to update them. <br />
<br />
[[Category:GNULinux]]<br />
<br />
=Arch Linux=<br />
<br />
Updated Octave's version is in the extra repository. It can be installed by typing:<br />
<br />
# pacman -S octave<br />
<br />
[[Category:GNULinux]]<br />
<br />
----</div>JasonHnicholsonhttps://wiki.octave.org/wiki/index.php?title=GNU_Octave_Wiki&diff=3114GNU Octave Wiki2013-09-07T16:21:22Z<p>JasonHnicholson: /* Available Packages */</p>
<hr />
<div>[http://www.octave.org GNU Octave] is a high-level interpreted language, primarily intended for numerical computations. It provides capabilities for the numerical solution of linear and nonlinear problems, and for performing other numerical experiments. It also provides extensive graphics capabilities for data visualization and manipulation. GNU Octave is normally used through its interactive interface (CLI and GUI), but it can also be used to write non-interactive programs. The GNU Octave language is quite similar to MATLABĀ® so that most programs are easily portable.<br />
<br />
This wiki is intended to supplement the [http://www.gnu.org/software/octave/doc/interpreter GNU Octave documentation]. Before adding content, please check that it is not already part of, or belongs in, the documentation.<br />
<br />
== GNU Octave FAQ ==<br />
<br />
The [[FAQ]] is a list of frequently asked questions (FAQ) for GNU Octave users and a good place to start.<br />
<br />
Answers to questions regarding [[FAQ#General|what is Octave]], [[FAQ#Licensing_issues|licensing]], [[FAQ#What.27s_new_in_Octave|new features]], [[FAQ#What_documentation_exists_for_Octave.3F|documentation]], [[FAQ#Installation_issues_and_problems|installation]], [[FAQ#Coding|coding]], [[FAQ#How_can_I_get_involved_in_Octave_development.3F|contributing to Octave]], and more, are found there.<br />
<br />
== Table of contents ==<br />
<br />
Below is a temporary attempt to organize the "most wanted" pages of the Wiki. A list of all pages on the wiki can be seen [[Special:AllPages|here]]. To locate something specific, try the wiki's search box, or prepend {{Codeline|<nowiki>site:http://www.octave.org/wiki/</nowiki>}} to a [https://www.google.com/search?&q=site%3Ahttp%3A%2F%2Fwww.octave.org%2Fwiki google search].<br />
<br />
=== Installation Instructions for Windows, MacOS X and GNU/Linux ===<br />
* [[Octave for Windows]]<br />
* [[Installing Win32 Distribution]]<br />
* [[Octave for MacOS X]]<br />
* [[Octave for GNU/Linux]]<br />
<br />
=== Building Octave ===<br />
* [[Build from source]]<br />
* [[Mercurial (hg) cheat sheet]]<br />
* [[Tests|Testing Source Code]]<br />
* [[Octave for Mac|Octave for MacOS (minimalistic)]]<br />
* [[Create a MacOS X App Bundle Using MacPorts]]<br />
* [[Enable large arrays: Build octave such that it can use arrays larger than 2Gb.|Building Octave to Use Large Arrays]]<br />
<br />
=== Octave-Forge ===<br />
* [[Octave_Forge|Octave-Forge and Installing Packages]]<br />
* [[Creating_packages|Creating Packages]]<br />
<br />
==== Available Packages ====<br />
See the [http://octave.sourceforge.net/packages.php Octave Forge] website for a complete list.<br />
* [[Dicom_package|Dicom]]<br />
* [[Geometry_package|Geometry]]<br />
* [[IO_package|I/O]]<br />
* [[Java_package|Java]]<br />
* [[Mechanics_package|Mechanics]]<br />
* [[Instrument_control__package|Instrument control]]<br />
* [[Sockets_package|Sockets]]<br />
* [[Video_package|Video]]<br />
* [[Fem-fenics|fem-fenics]] Interface to [http://fenicsproject.org/ FEnics] FEM library<br />
* [[bim_package|bim]] Solve Partial Differential Equaltions with a Finite Element method<br />
* [http://modb.oce.ulg.ac.be/mediawiki/index.php/CGI_programming_with_Octave CGI] Common Gateway Interface for Octave<br />
* [http://modb.oce.ulg.ac.be/mediawiki/index.php/Optimal_interpolation_Fortran_module_with_Octave_interface optiminterp] Optimal interpolation<br />
* [http://modb.oce.ulg.ac.be/mediawiki/index.php/NetCDF_toolbox_for_Octave octcdf] NetCDF package (old)<br />
* [http://modb.oce.ulg.ac.be/mediawiki/index.php/Octave-netcdf netcdf] matlab-compatible NetCDF package<br />
* [http://modb.oce.ulg.ac.be/mediawiki/index.php/NcArray ncArray] High-level interface of accessing a single or a collection of NetCDF files as a multi-dimensional array<br />
<br />
=== Editors & Octave ===<br />
* [[Gedit]]<br />
* [[Emacs]]<br />
* [[Nano]]<br />
* [[Vim]]<br />
* [[Kate]]<br />
* [http://octclipse.sourceforge.net Octclipse] (Windows and GNU/Linux only. The Octclipse developers are seeking individuals to assist with MacOS X support.)<br />
* [https://sites.google.com/site/domainmathide/ DomainMath IDE] (Windows,GNU/Linux and Mac OS.)<br />
<br />
=== Plotting tutorial ===<br />
All or most of the information about plotting in Octave can be found in the manual and on the internet. This information can be too scattered over different resources for a new user to find his/her way into solving a plotting problem/need. This tutorial should be considered as the 'recipe text' by examples if you consider the manual as a 'recipe ingredients only'.<br />
* [[Recap of the hierarchy of each plot element]]<br />
* [[The order of the commands matter sometimes]] <br />
* [[Changing text elements (label, title)]]<br />
* [[More control over subplots]]<br />
* [[Enable "linestyle" functionality for Gnuplot's x11 terminal]]<br />
<br />
=== Miscellaneous ===<br />
* [[Octave Basics]] - For those just getting started.<br />
* [[Cookbook]] - Several simple and useful examples.<br />
* [[Tips and tricks]] - Guidelines to improve your coding skills.<br />
* [[Fortran]] - Accessing liboctave from a Fortran 2003 program.<br />
* [[Octave load]] - Use liboctave functions to load variables from a file in Octave's binary format. <br />
* [[Special:AllPages|All Pages]] - A list of all special pages (like recent changes to the wiki)<br />
* [[Publications using Octave]] - A compilation of scientific publications making reference to GNU Octave (add yours!).<br />
* [[Octave fun]] - Coding can be fun -- miscellaneous more or less funny scripts<br />
* [[BASH and Octave]] - tips for easing use of Octave together with GNU BASH (linux)<br />
<br />
== External Links ==<br />
* [http://www.gnu.org/software/octave/ Octave Homepage]<br />
* [http://octave.sourceforge.net/ Octave Forge]<br />
* [https://savannah.gnu.org/bugs/?group=octave GNU Octave - Bug Tracker]<br />
* [https://savannah.gnu.org/task/?group=octave GNU Octave - Task Tracker]<br />
* [https://savannah.gnu.org/patch/?group=octave GNU Octave - Patch Tracker]<br />
* [https://savannah.gnu.org/hg/?group=octave GNU Octave - Mercurial Repositories]<br />
* [http://planet.octave.org Planet Octave] (site summary for blogs from Octave's [http://code.google.com/soc/ GSoC] and [http://sophia.estec.esa.int/socis2013/ SoCiS] students)</div>JasonHnicholsonhttps://wiki.octave.org/wiki/index.php?title=Octave_for_GNU/Linux&diff=3113Octave for GNU/Linux2013-09-07T16:16:57Z<p>JasonHnicholson: /* Ubuntu 12.04 */</p>
<hr />
<div>The recommended way for installing Octave and Octave-Forge packages on GNU/Linux systems <br />
is via each distribution package installation system.<br />
<br />
More detailed instructions follow.<br />
<br />
=Debian and Debian-based (such as Ubuntu)=<br />
<br />
Either use {{Codeline|aptitude}} or {{Codeline|apt-get}}:<br />
<br />
# aptitude install octave<version> octave<version>-doc<br />
<br />
where {{Codeline|<version>}} must be substituted by the appropriate string.<br />
<br />
The Octave-Forge packages are spread over many Debian packages. All Octave-Forge packages will probably be found with the command: <br />
<br />
$ aptitude search ?description\(octave-forge\)<br />
<br />
For more details, see the [[Debian]] specific instructions page.<br />
<br />
=== Troubleshooting ===<br />
<br />
At Ubuntu, broken packages install may cause a <span color="red">error: `pkg' undefined</span> error, previously reported as [https://bugs.launchpad.net/ubuntu/+source/octave3.2/+bug/465005 bug 465005]:<br />
<br />
...<br />
Setting up octave3.2 (3.2.2-2build1) ...<br />
error: `pkg' undefined near line 0 column 1<br />
<br />
dpkg: error processing octave3.2 (--configure):<br />
subprocess installed post-installation script returned error exit status 1<br />
Processing triggers for libc-bin ...<br />
ldconfig deferred processing now taking place<br />
Processing triggers for menu ...<br />
Errors were encountered while processing:<br />
octave3.2<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)<br />
<br />
Fix this by complete reinstall:<br />
<br />
sudo apt-get --purge remove octave3.2<br />
sudo apt-get --purge remove octave3.2-common<br />
sudo apt-get install octave3.2<br />
=Ubuntu 12.04=<br />
The package can be obtained from the Software Center but the Octave package is old (3.2). The most current stable version is available through a Personal Package Archive (PPA). You will need to add the PPA to you system. Execute the following in a terminal:<br />
<br />
sudo apt-add-repository ppa:octave/stable<br />
sudo apt-get update<br />
<br />
If you need more information on adding a repository, visit [https://launchpad.net/~octave/+archive/stable GNU Octave Stable Releases] PPA. You can now install from the Software Center or a terminal.<br />
<br />
To install Octave with documentation execute the following in a terminal:<br />
<br />
sudo apt-get install octave octave-doc octave-info octave-htmldoc<br />
<br />
If you want to be able to build packages from Octave Forge, you will want liboctave-dev package:<br />
<br />
sudo apt-get install liboctave-dev<br />
<br />
If you want Octave debugging symbols, use the following:<br />
<br />
sudo apt-get install octave-dbg<br />
<br />
=Fedora=<br />
The packages can be installed using the yum command, they are:<br />
<br />
*octave<br />
*octave-devel<br />
*octave-forge<br />
<br />
{{Codeline|octave-forge}} is recommended to all users, as it provides many extra functions. {{Codeline|octave-devel}} contains the octave headers and {{Path|mkoctfile}} script and is really only needed by users who are developing code that is to be dynamically linked to octave. {{Codeline|octave}} and {{Codeline|octave-forge}} can be installed with the command:<br />
<br />
# yum install octave-forge<br />
<br />
By default, yum will most likely install blas and lapack as your matrix math libraries, but ATLAS is usually much faster. If you want to install atlas with octave, use the command<br />
<br />
# yum install octave-forge atlas<br />
<br />
Note that if you are using an i386-compatible processor the base atlas package is not optimized for newer hardware. If you have newer hardware, you can get even better performance with the atlas-3dnow (AMD K6 processors), atlas-sse (Pentium III or newer), or atlas-sse2 (Pentium 4 or newer).<br />
<br />
=Gentoo=<br />
Octave is available through Gentoo's package management system, Portage:<br />
<br />
# emerge sync<br />
# emerge octave<br />
# emerge octave-forge (optional)<br />
<br />
=Red Hat Enterprise=<br />
<br />
Octave is available for Red Hat Enterprise Linux distributions through the [https://fedoraproject.org/wiki/EPEL EPEL] repository. This section applies to CentOS, Scientific Linux, and other Red Hat Enterprise rebuild distributions as well.<br />
<br />
First, follow [https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F these instructions] to set up your system to install packages from EPEL. For example,<br />
<br />
# wget <nowiki>http://url/to/latest/epel-release-6-7.noarch.rpm</nowiki><br />
# yum localinstall epel-release-6-7.noarch.rpm<br />
<br />
Once the EPEL repository has been enabled, you can follow the rest of the [[#Fedora|instructions for Fedora]] to install Octave using yum.<br />
<br />
Note that EPEL intentionally does not follow new releases as closely as other distributions. Consequently, the version of Octave provided by EPEL may be several months or years out of date. There are plans for the Octave maintainers to provide support and binary RPMs for enterprise GNU/Linux distributions, contact the [mailto:maintainers@octave.org maintainers mailing list] for more information.<br />
<br />
=Red Hat=<br />
<br />
GNU Octave is included with Red Hat. If you are still using an old version of Red Hat and want a newer version of GNU Octave, your best options are to consider updating your distribution to a recent Fedora release or compile octave from source.<br />
<br />
Note that RH 7.x distributions (as well as Red Hat Enterprise Linux 2.1) have included an old version of GCC (pre 3.x). It is known that GCC 2.96 (included in RH7.3) can compile GNU Octave (as of version 2.1.57), but the resulting binary will be bad. Red Hat made available RPMs for GCC 3.1-5 through http://rhn.redhat.com (those RPMs may be available on other RPM repositories).<br />
<br />
=SUSE Linux Enterprise and openSUSE=<br />
Octave 3.6.2 is included in the science repository with SLE 11 SP2 and openSUSE 11.4, 12.1, 12.2<br />
<br />
[http://download.opensuse.org/repositories/science/ OBS science]<br />
<br />
For example, for openSUSE 12.2 you would do:<br />
<br />
# zypper ar http://download.opensuse.org/repositories/science/openSUSE_12.2/ science<br />
# zypper refresh<br />
# zypper install octave octave-devel<br />
<br />
for other versions change the version number in the first command accordingly.<br />
<br />
2012-08-21: arpack-ng and SuiteSparse 4.0 bindings which were broken before are again functional, if you have a previous version of the rpm's installed consider to update them. <br />
<br />
[[Category:GNULinux]]<br />
<br />
=Arch Linux=<br />
<br />
Updated Octave's version is in the extra repository. It can be installed by typing:<br />
<br />
# pacman -S octave<br />
<br />
[[Category:GNULinux]]<br />
<br />
----</div>JasonHnicholsonhttps://wiki.octave.org/wiki/index.php?title=Octave_for_GNU/Linux&diff=3112Octave for GNU/Linux2013-09-07T16:11:37Z<p>JasonHnicholson: </p>
<hr />
<div>The recommended way for installing Octave and Octave-Forge packages on GNU/Linux systems <br />
is via each distribution package installation system.<br />
<br />
More detailed instructions follow.<br />
<br />
=Debian and Debian-based (such as Ubuntu)=<br />
<br />
Either use {{Codeline|aptitude}} or {{Codeline|apt-get}}:<br />
<br />
# aptitude install octave<version> octave<version>-doc<br />
<br />
where {{Codeline|<version>}} must be substituted by the appropriate string.<br />
<br />
The Octave-Forge packages are spread over many Debian packages. All Octave-Forge packages will probably be found with the command: <br />
<br />
$ aptitude search ?description\(octave-forge\)<br />
<br />
For more details, see the [[Debian]] specific instructions page.<br />
<br />
=== Troubleshooting ===<br />
<br />
At Ubuntu, broken packages install may cause a <span color="red">error: `pkg' undefined</span> error, previously reported as [https://bugs.launchpad.net/ubuntu/+source/octave3.2/+bug/465005 bug 465005]:<br />
<br />
...<br />
Setting up octave3.2 (3.2.2-2build1) ...<br />
error: `pkg' undefined near line 0 column 1<br />
<br />
dpkg: error processing octave3.2 (--configure):<br />
subprocess installed post-installation script returned error exit status 1<br />
Processing triggers for libc-bin ...<br />
ldconfig deferred processing now taking place<br />
Processing triggers for menu ...<br />
Errors were encountered while processing:<br />
octave3.2<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)<br />
<br />
Fix this by complete reinstall:<br />
<br />
sudo apt-get --purge remove octave3.2<br />
sudo apt-get --purge remove octave3.2-common<br />
sudo apt-get install octave3.2<br />
=Ubuntu 12.04=<br />
The package can be obtained from the Software Center but the Octave package is old (3.2). The most current stable version is available through a Personal Package Archive (PPA). You will need to add the PPA to you system. Execute the following in a terminal:<br />
<br />
sudo apt-add-repository ppa:octave/stable<br />
sudo apt-get update<br />
<br />
If you need more information on adding a repository, visit [https://launchpad.net/~octave/+archive/stable GNU Octave Stable Releases] PPA. You can now install from the Software Center or a terminal.<br />
<br />
To install Octave with documentation execute the following at in a terminal:<br />
<br />
sudo apt-get install octave octave-doc octave-info octave-htmldoc<br />
<br />
If you want to be able to build packages from Octave Forge, you will want liboctave-dev package:<br />
<br />
sudo apt-get install liboctave-dev<br />
<br />
If you want Octave debugging symbols, use the following:<br />
<br />
sudo apt-get install octave-dbg<br />
=Fedora=<br />
The packages can be installed using the yum command, they are:<br />
<br />
*octave<br />
*octave-devel<br />
*octave-forge<br />
<br />
{{Codeline|octave-forge}} is recommended to all users, as it provides many extra functions. {{Codeline|octave-devel}} contains the octave headers and {{Path|mkoctfile}} script and is really only needed by users who are developing code that is to be dynamically linked to octave. {{Codeline|octave}} and {{Codeline|octave-forge}} can be installed with the command:<br />
<br />
# yum install octave-forge<br />
<br />
By default, yum will most likely install blas and lapack as your matrix math libraries, but ATLAS is usually much faster. If you want to install atlas with octave, use the command<br />
<br />
# yum install octave-forge atlas<br />
<br />
Note that if you are using an i386-compatible processor the base atlas package is not optimized for newer hardware. If you have newer hardware, you can get even better performance with the atlas-3dnow (AMD K6 processors), atlas-sse (Pentium III or newer), or atlas-sse2 (Pentium 4 or newer).<br />
<br />
=Gentoo=<br />
Octave is available through Gentoo's package management system, Portage:<br />
<br />
# emerge sync<br />
# emerge octave<br />
# emerge octave-forge (optional)<br />
<br />
=Red Hat Enterprise=<br />
<br />
Octave is available for Red Hat Enterprise Linux distributions through the [https://fedoraproject.org/wiki/EPEL EPEL] repository. This section applies to CentOS, Scientific Linux, and other Red Hat Enterprise rebuild distributions as well.<br />
<br />
First, follow [https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F these instructions] to set up your system to install packages from EPEL. For example,<br />
<br />
# wget <nowiki>http://url/to/latest/epel-release-6-7.noarch.rpm</nowiki><br />
# yum localinstall epel-release-6-7.noarch.rpm<br />
<br />
Once the EPEL repository has been enabled, you can follow the rest of the [[#Fedora|instructions for Fedora]] to install Octave using yum.<br />
<br />
Note that EPEL intentionally does not follow new releases as closely as other distributions. Consequently, the version of Octave provided by EPEL may be several months or years out of date. There are plans for the Octave maintainers to provide support and binary RPMs for enterprise GNU/Linux distributions, contact the [mailto:maintainers@octave.org maintainers mailing list] for more information.<br />
<br />
=Red Hat=<br />
<br />
GNU Octave is included with Red Hat. If you are still using an old version of Red Hat and want a newer version of GNU Octave, your best options are to consider updating your distribution to a recent Fedora release or compile octave from source.<br />
<br />
Note that RH 7.x distributions (as well as Red Hat Enterprise Linux 2.1) have included an old version of GCC (pre 3.x). It is known that GCC 2.96 (included in RH7.3) can compile GNU Octave (as of version 2.1.57), but the resulting binary will be bad. Red Hat made available RPMs for GCC 3.1-5 through http://rhn.redhat.com (those RPMs may be available on other RPM repositories).<br />
<br />
=SUSE Linux Enterprise and openSUSE=<br />
Octave 3.6.2 is included in the science repository with SLE 11 SP2 and openSUSE 11.4, 12.1, 12.2<br />
<br />
[http://download.opensuse.org/repositories/science/ OBS science]<br />
<br />
For example, for openSUSE 12.2 you would do:<br />
<br />
# zypper ar http://download.opensuse.org/repositories/science/openSUSE_12.2/ science<br />
# zypper refresh<br />
# zypper install octave octave-devel<br />
<br />
for other versions change the version number in the first command accordingly.<br />
<br />
2012-08-21: arpack-ng and SuiteSparse 4.0 bindings which were broken before are again functional, if you have a previous version of the rpm's installed consider to update them. <br />
<br />
[[Category:GNULinux]]<br />
<br />
=Arch Linux=<br />
<br />
Updated Octave's version is in the extra repository. It can be installed by typing:<br />
<br />
# pacman -S octave<br />
<br />
[[Category:GNULinux]]<br />
<br />
----</div>JasonHnicholsonhttps://wiki.octave.org/wiki/index.php?title=GNU_Octave_Wiki&diff=3106GNU Octave Wiki2013-09-07T10:24:06Z<p>JasonHnicholson: </p>
<hr />
<div>The recommended way for installing Octave and Octave-Forge packages on GNU/Linux systems <br />
is via each distribution package installation system.<br />
<br />
More detailed instructions follow.<br />
<br />
=Debian and Debian-based (such as Ubuntu)=<br />
<br />
Either use {{Codeline|aptitude}} or {{Codeline|apt-get}}:<br />
<br />
# aptitude install octave<version> octave<version>-doc<br />
<br />
where {{Codeline|<version>}} must be substituted by the appropriate string.<br />
<br />
The Octave-Forge packages are spread over many Debian packages. All Octave-Forge packages will probably be found with the command: <br />
<br />
$ aptitude search ?description\(octave-forge\)<br />
<br />
For more details, see the [[Debian]] specific instructions page.<br />
<br />
=== Troubleshooting ===<br />
<br />
At Ubuntu, broken packages install may cause a <span color="red">error: `pkg' undefined</span> error, previously reported as [https://bugs.launchpad.net/ubuntu/+source/octave3.2/+bug/465005 bug 465005]:<br />
<br />
...<br />
Setting up octave3.2 (3.2.2-2build1) ...<br />
error: `pkg' undefined near line 0 column 1<br />
<br />
dpkg: error processing octave3.2 (--configure):<br />
subprocess installed post-installation script returned error exit status 1<br />
Processing triggers for libc-bin ...<br />
ldconfig deferred processing now taking place<br />
Processing triggers for menu ...<br />
Errors were encountered while processing:<br />
octave3.2<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)<br />
<br />
Fix this by complete reinstall:<br />
<br />
sudo apt-get --purge remove octave3.2<br />
sudo apt-get --purge remove octave3.2-common<br />
sudo apt-get install octave3.2<br />
=Ubuntu 12.04=<br />
The package can be obtained from the Software Center but the Octave package is old (3.2). The most current stable version is available through a Personal Package Archive (PPA). You will need to add the PPA to you system. Execute the following in a terminal:<br />
<br />
sudo apt-add-repository ppa:octave/stable<br />
sudo apt-get update<br />
<br />
If you need more information on adding a repository, visit [https://launchpad.net/~octave/+archive/stable GNU Octave Stable Releases] PPA. You can now install from the Software Center or a terminal.<br />
<br />
To install Octave with documentation execute the following at in a terminal:<br />
<br />
sudo apt-get install octave octave-doc octave-info octave-htmldoc<br />
<br />
If you want to be able to build packages from Octave Forge, you will want liboctave-dev package:<br />
<br />
sudo apt-get install liboctave-dev<br />
<br />
If you want Octave debugging symbols, use the following:<br />
<br />
sudo apt-get install octave-dbg<br />
=Fedora=<br />
The packages can be installed using the yum command, they are:<br />
<br />
*octave<br />
*octave-devel<br />
*octave-forge<br />
<br />
{{Codeline|octave-forge}} is recommended to all users, as it provides many extra functions. {{Codeline|octave-devel}} contains the octave headers and {{Path|mkoctfile}} script and is really only needed by users who are developing code that is to be dynamically linked to octave. {{Codeline|octave}} and {{Codeline|octave-forge}} can be installed with the command:<br />
<br />
# yum install octave-forge<br />
<br />
By default, yum will most likely install blas and lapack as your matrix math libraries, but ATLAS is usually much faster. If you want to install atlas with octave, use the command<br />
<br />
# yum install octave-forge atlas<br />
<br />
Note that if you are using an i386-compatible processor the base atlas package is not optimized for newer hardware. If you have newer hardware, you can get even better performance with the atlas-3dnow (AMD K6 processors), atlas-sse (Pentium III or newer), or atlas-sse2 (Pentium 4 or newer).<br />
<br />
=Gentoo=<br />
Octave is available through Gentoo's package management system, Portage:<br />
<br />
# emerge sync<br />
# emerge octave<br />
# emerge octave-forge (optional)<br />
<br />
=Red Hat Enterprise=<br />
<br />
Octave is available for Red Hat Enterprise Linux distributions through the [https://fedoraproject.org/wiki/EPEL EPEL] repository. This section applies to CentOS, Scientific Linux, and other Red Hat Enterprise rebuild distributions as well.<br />
<br />
First, follow [https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F these instructions] to set up your system to install packages from EPEL. For example,<br />
<br />
# wget <nowiki>http://url/to/latest/epel-release-6-7.noarch.rpm</nowiki><br />
# yum localinstall epel-release-6-7.noarch.rpm<br />
<br />
Once the EPEL repository has been enabled, you can follow the rest of the [[#Fedora|instructions for Fedora]] to install Octave using yum.<br />
<br />
Note that EPEL intentionally does not follow new releases as closely as other distributions. Consequently, the version of Octave provided by EPEL may be several months or years out of date. There are plans for the Octave maintainers to provide support and binary RPMs for enterprise GNU/Linux distributions, contact the [mailto:maintainers@octave.org maintainers mailing list] for more information.<br />
<br />
=Red Hat=<br />
<br />
GNU Octave is included with Red Hat. If you are still using an old version of Red Hat and want a newer version of GNU Octave, your best options are to consider updating your distribution to a recent Fedora release or compile octave from source.<br />
<br />
Note that RH 7.x distributions (as well as Red Hat Enterprise Linux 2.1) have included an old version of GCC (pre 3.x). It is known that GCC 2.96 (included in RH7.3) can compile GNU Octave (as of version 2.1.57), but the resulting binary will be bad. Red Hat made available RPMs for GCC 3.1-5 through http://rhn.redhat.com (those RPMs may be available on other RPM repositories).<br />
<br />
=SUSE Linux Enterprise and openSUSE=<br />
Octave 3.6.2 is included in the science repository with SLE 11 SP2 and openSUSE 11.4, 12.1, 12.2<br />
<br />
[http://download.opensuse.org/repositories/science/ OBS science]<br />
<br />
For example, for openSUSE 12.2 you would do:<br />
<br />
# zypper ar http://download.opensuse.org/repositories/science/openSUSE_12.2/ science<br />
# zypper refresh<br />
# zypper install octave octave-devel<br />
<br />
for other versions change the version number in the first command accordingly.<br />
<br />
2012-08-21: arpack-ng and SuiteSparse 4.0 bindings which were broken before are again functional, if you have a previous version of the rpm's installed consider to update them. <br />
<br />
[[Category:GNULinux]]<br />
<br />
=Arch Linux=<br />
<br />
Updated Octave's version is in the extra repository. It can be installed by typing:<br />
<br />
# pacman -S octave<br />
<br />
[[Category:GNULinux]]<br />
<br />
----</div>JasonHnicholson