GNU Octave

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

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


USE flags

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

X Add support for X11
curl Add support for client-side URL transfer library
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
fftw Use FFTW library for computing Fourier transforms
fltk Use x11-libs/fltk as the backend for the OpenGL renderer in the absence of the Qt GUI
glpk Add support for sci-mathematics/glpk for linear programming
gnuplot Use sci-visualization/gnuplot to render plots if OpenGL is unavailable
gui Enable support for a graphical user interface
hdf5 Add support for the Hierarchical Data Format v5
imagemagick Use media-gfx/graphicsmagick to read and write images
java Add support for Java
json Allow using jsonencode and jsondecode commands via dev-libs/rapidjson
opengl Add support for OpenGL (3D graphics)
portaudio Add support for the crossplatform portaudio audio API
postscript Enable support for the PostScript language (often with ghostscript-gpl or libspectre)
qhull Add support for media-libs/qhull, to allow `delaunay', `convhull', and related functions
qrupdate Add support for sci-libs/qrupdatefor QR and Cholesky update functions
readline Enable support for libreadline, a GNU line-editing library that almost everyone wants
sndfile Add support for libsndfile
sparse Add enhanced support for sparse matrix algebra with SuiteSparse
ssl Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security)
sundials Enable the ode15i and ode15s ODE solvers using sci-libs/sundials
zlib Add support for zlib compression


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 the curl USE flag)
  • 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.

See also

  • Matlab — explains how to install and run MathWorks Matlab on Gentoo.