Octave
Download Source: |
---|
Contents
Introduction to Octave
GNU Octave is a high-level language, primarily intended for numerical computations. It is a command line interface and solves linear and nonlinear problems numerically. Octave can be used to perform other numerical experiments using a language that is mostly compatible with Matlab.
Homepage: http://www.gnu.org/software/octave/octave.html
Dependencies
Optional
Configuration Information
The following are some options that you may want to pass to the configure script:
--with-f77: Use f77 to compile Fortran subroutines. |
--without-hdf5: Don't use HDF5 files. |
--without-fftw: Use included fftpack instead of installed fftw. |
--with-blas=<lib>: Use the BLAS library found at <lib>. |
--with-lapack=<lib>: Use the LAPACK library found at <lib>. |
--enable-shared: Enables building the shared library. This requires shared BLAS and LAPACK libraries if you're using them as well. |
Non-Multilib
Compile the Octave package:
./configure --prefix=/usr --enable-static --enable-shared && make
Install Octave:
make install
Install the Octave documentation. The files in the doc/refcard directory are two-page Octave command reference cards. The others are full reference manuals.
install -v -m755 -d /usr/share/doc/octave-3.2.2/ && cp -v doc/refcard/*.{ps,pdf} /usr/share/doc/octave-3.2.2/ && cp -v doc/interpreter/*.{ps,pdf} /usr/share/doc/octave-3.2.2/ && cp -v doc/liboctave/*.{ps,pdf} /usr/share/doc/octave-3.2.2/
Multilib
32Bit
Compile the Octave package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-static --enable-shared && make
Install Octave:
make install && mv -v /usr/bin/octave{,-32}
N32
Compile the Octave package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \ --enable-static --enable-shared && make
Install Octave:
make install && mv -v /usr/bin/octave{,-n32}
64Bit
Compile the Octave package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \ --enable-static --enable-shared && make
Install Octave:
make install && mv -v /usr/bin/octave{,-64} && ln -sfv multiarch_wrapper /usr/bin/octave
Install the Octave documentation. The files in the doc/refcard directory are two-page Octave command reference cards. The others are full reference manuals.
install -v -m755 -d /usr/share/doc/octave-3.2.2/ && cp -v doc/refcard/*.{ps,pdf} /usr/share/doc/octave-3.2.2/ && cp -v doc/interpreter/*.{ps,pdf} /usr/share/doc/octave-3.2.2/ && cp -v doc/liboctave/*.{ps,pdf} /usr/share/doc/octave-3.2.2/
Contents
Installed Directories: | /usr/lib/octave-3.2.2, /usr/include/octave-3.2.2 |
---|---|
Installed Programs: | octave-bug, octave-config, octave |
Installed Libraries: | librcruft.{a,so}, liboctave.{a,so}, liboctinterp.{a,so} |
Short Description
octave-bug: | Creates a bug report and mails it to the bug-octave mailing list. |
---|---|
octave-config | Reports some configuration values for Octave. |
Octave | The binary of interest. |