preload
Aug 03

Download the latest (3.0.1) Octave source file and Octave Forge (collection of predefined functions)
(http://ftp.gnu.org/pub/gnu/)

1. octave-3.0.1.tar.gz
2. octave-forge-bundle-20080507.tar.gz

Dependency Packages

1. GCC (GNU compiler Collection) or C (gcc) and C++ compiler (g++)
2. Fortran 77 (G77)
3. GNU Readline 4.2 (or latest version http://mirror.anl.gov/pub/gnu/readline?C=M;O=A)
4. ncurses (http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz)
5. termcap (http://ftp.gnu.org/pub/gnu/termcap/)
6. gperf (http://ftp.gnu.org/pub/gnu/gperf/)
7. flex (http://flex.sourceforge.net/)
8. GNU M4 1.4 (http://ftp.gnu.org/gnu/m4/)
9. bison (http://ftp.gnu.org/pub/gnu/bison/)
10. zlib (http://ftp.gnu.org/pub/gnu/zlibc/)
11. gnuplot (www.gnuplot.info/download.html)
12. COLAMD,CCOLAMD,CHOLMOD,CXSparse – Functionality for sparse matrices.
13. FFTW – For fast fourier transform library
14. Qhull – For Geometory Functions
15. PCRE – For Regular Expression
16. GLPK – For Linear Program
17. HDF5 - For Hierarchical Data Format 5 (HDF5)

Octave Installation

The simplest way to compile this package is:

1. `cd‘ to the directory containing the package’s source code and type
`./configure‘ to configure the package for your system. If you’re
using `csh’ on an old version of System V, you might need to type
`sh ./configure’ instead to prevent `csh’ from trying to execute
`configure’ itself.

Running `configure’ takes awhile. While running, it prints some
messages telling which features it is checking for.

2. Type `make‘ to compile the package.

3. Optionally, type `make check’ to run any self-tests that come with
the package.

4. Type `make install‘ to install the programs and any data files and
documentation.

5. You can remove the program binaries and object files from the
source code directory by typing `make clean‘. To also remove the
files that `configure’ created (so you can compile the package for
a different kind of computer), type `make distclean‘.

Example

# tar -xzvf octave-3.0.1.tar.gz
# cd octave-3.0.1
# ./configure
(before this step ,make sure you have installed all dependency packages
in your Linux system. if not first install those packages, then continue
with configure command)
# make
# make install
# make clean

Installing Octave Forge

1. Goto Octave terminal and use ‘pkg’ command for
installing packages
# pkg install image-1.0.6.tar.gz

Jul 22

History

The project was conceived around 1988. At first it was intended to be a companion to a chemical reactor design course. Real development was started by John W. Eaton in 1992. The first alpha release dates back to January 4, 1993 and on February 17, 1994 version 1.0 was released. Version 3.0 was released on December 21, 2007.

The name has nothing to do with musical octaves. Octave is the name of one of the early authors of Octave, a professor who was known for his ability to quickly come up with good approximations to numerical problems.

Download Details

You can download Ocatave from the following website
http://www.gnu.org/software/octave/download.html

Technical details

* Octave is written in C++ using STL libraries.
* Octave has an interpreter that interprets the Octave language.
* Octave itself is extensible using dynamically loadable modules.
* Octave interpreter works in tandem with gnuplot and Grace software to create plots, graphs, and charts, and to save or print them.

Octave, the language

The Octave language is an interpreted programming language. It is a structured programming language (an example of which is the C language) and supports many common C standard library constructs, and can be extended to support UNIX system calls and functions. However, it does not support passing arguments by reference.

Octave programs consist of a list of function calls or script. The language is matrix-based and provides various functions for matrix operations. It is not object-oriented, but supports data structures.

Its syntax is very similar to MATLAB, and carefully programming a script will allow it to run on both Octave and MATLAB.

Because Octave is made available under the GNU General Public License, it may be freely copied and used. The program runs under most Unix and Unix-like operating systems, as well as Microsoft Windows.

MATLAB compatibility

Octave has been built with MATLAB compatibility in mind. It therefore shares many features with MATLAB:

1. Matrices as fundamental data type.
2. Built-in support for complex numbers.
3. Powerful built-in math functions and extensive function libraries.
4. Extensibility in the form of user-defined functions.

(Source : http://en.wikipedia.org/wiki/GNU_Octave)