How to Install Octave

GNU Octave is a numerically oriented high level mathematical programming language. It is useful for science, engineering and maths, and it is mostly compatible with matlab. [1]

The information used for installation can be found here:
Using gfortran or installing f2c and fort77
f2c / f77 Installation Instructions for Linux

References

[1]. Octave Acessed 20/10/2009