Difference between revisions of "Octave"

From CBLFS
Jump to navigationJump to search
(Updated contents.)
Line 102: Line 102:
 
= Contents =
 
= Contents =
  
{| style="text-align: left;"
+
{|style="text-align"
 
|-valign="top"
 
|-valign="top"
! Installed Directories:
+
!Installed Directories:
|/usr/lib/octave-{{Octave-Version}}, /usr/lib/octave/site/oct,  
+
|/usr/lib/octave, /usr/lib/octave/{{Octave-Version}}, /usr/lib/octave/{{Octave-Version}}/oct, /usr/lib/octave/{{Octave-Version}}/oct/x86_64-unknown-linux-gnu, /usr/lib/octave/{{Octave-Version}}/exec, /usr/lib/octave/{{Octave-Version}}/exec/x86_64-unknown-linux-gnu, /usr/lib/octave/site, /usr/lib/octave/site/exec, /usr/lib/octave/site/exec/x86_64-unknown-linux-gnu, /usr/lib/octave/{{Octave-Version}}/site, /usr/lib/octave/{{Octave-Version}}/site/exec, /usr/lib/octave/{{Octave-Version}}/site/exec/x86_64-unknown-linux-gnu, /usr/lib/octave/{{Octave-Version}}/site/oct, /usr/lib/octave/{{Octave-Version}}/site/oct/x86_64-unknown-linux-gnu, /usr/lib/octave/site/oct, /usr/lib/octave/site/oct/api-v13, /usr/lib/octave/site/oct/api-v13/x86_64-unknown-linux-gnu, /usr/lib/octave/site/oct/x86_64-unknown-linux-gnu, /tmp/t2d7002, /tmp/t2d7002/utils, /tmp/t2d7002/src, /tmp/t2d7002/xtr, /tmp/t2d7002/rcd, /tmp/t2d7002/bak
/usr/lib/octave/{{Octave-Version}}/{site,api-v13}, /usr/include/octave-{{Octave-Version}}/octave,
 
/usr/share/octave/{{Octave-Version}}/{m,site,api-v13}
 
 
|-valign="top"
 
|-valign="top"
! Installed Programs:
+
!Installed Programs:
|octave-bug, octave-config, octave, mkoctfile
+
|octave-bug-{{Octave-Version}}, octave-config-{{Octave-Version}}, mkoctfile-{{Octave-Version}}, octave-{{Octave-Version}}
 
|-valign="top"
 
|-valign="top"
! Installed Libraries:
+
!Installed Libraries:
|librcruft.{a,so}, liboctave.{a,so}, liboctinterp.{a,so}
+
|libcruft.a, libcruft.so, liboctave.a, liboctave.so, liboctinterp.a, liboctinterp.so
 +
|-valign="top"
 +
!Symlinks:
 +
|octave-bug, octave-config, mkoctfile, octave
 
|}
 
|}
  

Revision as of 08:24, 7 February 2007

Download Source:

ftp://ftp.octave.org/pub/octave/octave-3.2.2.tar.bz2

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 --libexecdir=/usr/lib --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 --libexecdir=/usr/lib \
--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 \
--libexecdir=/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 \
--libexecdir=/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, /usr/lib/octave/3.2.2, /usr/lib/octave/3.2.2/oct, /usr/lib/octave/3.2.2/oct/x86_64-unknown-linux-gnu, /usr/lib/octave/3.2.2/exec, /usr/lib/octave/3.2.2/exec/x86_64-unknown-linux-gnu, /usr/lib/octave/site, /usr/lib/octave/site/exec, /usr/lib/octave/site/exec/x86_64-unknown-linux-gnu, /usr/lib/octave/3.2.2/site, /usr/lib/octave/3.2.2/site/exec, /usr/lib/octave/3.2.2/site/exec/x86_64-unknown-linux-gnu, /usr/lib/octave/3.2.2/site/oct, /usr/lib/octave/3.2.2/site/oct/x86_64-unknown-linux-gnu, /usr/lib/octave/site/oct, /usr/lib/octave/site/oct/api-v13, /usr/lib/octave/site/oct/api-v13/x86_64-unknown-linux-gnu, /usr/lib/octave/site/oct/x86_64-unknown-linux-gnu, /tmp/t2d7002, /tmp/t2d7002/utils, /tmp/t2d7002/src, /tmp/t2d7002/xtr, /tmp/t2d7002/rcd, /tmp/t2d7002/bak
Installed Programs: octave-bug-3.2.2, octave-config-3.2.2, mkoctfile-3.2.2, octave-3.2.2
Installed Libraries: libcruft.a, libcruft.so, liboctave.a, liboctave.so, liboctinterp.a, liboctinterp.so
Symlinks: octave-bug, octave-config, mkoctfile, octave

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.
Retrieved from "?title=Octave&oldid=7653"