Difference between revisions of "Build from source"

From Octave
Jump to navigation Jump to search
Line 1: Line 1:
Compiling from source is probably the most effective way of installing Octave on your system. To do this you will require compilers for the following languages:
+
Building Octave can be as simple as downloading the source and running the following three commands in your GNU/Linux shell:
  
* C
+
./configure
* C++ (ISO)
+
make
* Fortran
+
make install
  
The best supported compilers for the job are the [http://gcc.gnu.org/ GNU Compiler Collection]. You will require at least GCC 4.3 or later, although GCC 4.4 or later is recommended.
+
[http://www.gnu.org/software/octave/doc/interpreter/Installation.html#Installation More detailed instructions]
 
+
for building from source are included in the Octave manual.
To compile Octave, you will also need a recent version of GNU Make. You must have GNU Make to compile octave. Octave's Makefiles use features of GNU Make that are not present in other versions of make. GNU Make is very portable and easy to install.
 

Revision as of 14:04, 1 March 2012

Building Octave can be as simple as downloading the source and running the following three commands in your GNU/Linux shell:

./configure
make
make install

More detailed instructions for building from source are included in the Octave manual.