GNU Octave

From Gentoo Wiki
Jump to: navigation, search
This article is a stub. You can help by expanding it.
Resources

GNU Octave is a free and open-source computing environment and high-level interactive programming language, that is primarily intended for numerical computations.

Installation

USE flags

USE flags for sci-mathematics/octave High-level interactive language for numerical computations

X Add support for X11 global
curl Add support for client-side URL transfer library global
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally global
fftw Use FFTW library for computing Fourier transforms global
glpk Add support for sci-mathematics/glpk for linear programming local
gnuplot Enable support for gnuplot (data and function plotting) global
gui Enable the graphical user interface local
hdf5 Add support for the Hierarchical Data Format v5 global
java Add support for Java global
opengl Add support for OpenGL (3D graphics) global
openssl Use dev-libs/openssl for low level hash functions local
portaudio Add support for the crossplatform portaudio audio API global
postscript Enable support for the PostScript language (often with ghostscript-gpl or libspectre) global
qhull Add support for media-libs/qhull, to allow `delaunay', `convhull', and related functions local
qrupdate Add support for sci-libs/qrupdatefor QR and Cholesky update functions local
readline Enable support for libreadline, a GNU line-editing library that almost everyone wants global
sndfile Add support for libsndfile global
sparse Add enhanced support for sparse matrix algebra with SuiteSparse local
static-libs Build static versions of dynamic libraries as well global
zlib Add support for zlib (de)compression global

Emerge

root #emerge --ask sci-mathematics/octave

Octave packages

Octave's functionality (i.e. selection of functions available to the user in octave) is extended via octave-packages [1], usually provided by octave-forge [2]. There are two ways to install octave packages:

  • Use octave's own "pkg" command to install missing packages (requires use flag "curl")
  • Use "app-portage/g-octave" to generate ebuilds for octave-packages from Octave-Forge and install them via portage


There is conflicting information about which method to prefer [3][4], so no recommendation can be given at this point.

[1] http://octave.sourceforge.net/packages.php

[2] http://octave.sourceforge.net/index.html

[3] http://wiki.octave.org/Octave-Forge#Installing_packages

[4] http://wiki.octave.org/Octave_for_GNU/Linux#Gentoo