Quantcast
Channel: Anthoniraj's Blog » Octave
Viewing all articles
Browse latest Browse all 2

How to GNU Octave

$
0
0

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


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images