Line 1: |
Line 1: |
| General information about building the Octave source for different operating systems. | | General information about building the Octave source for different operating systems. |
| + | |
| + | == General steps == |
| + | |
| + | {| class="wikitable" |
| + | ! Build from the development repository |
| + | ! Build from a release |
| + | |- |
| + | | colspan="2" style="text-align: center;" | Install all [[#Dependencies|build dependencies]] (see below). |
| + | |-style="vertical-align:top;" |
| + | | |
| + | hg clone https://www.octave.org/hg/octave && \ |
| + | cd octave && \ |
| + | ./bootstrap |
| + | | |
| + | wget https://ftpmirror.gnu.org/octave/octave-{{Release}}.tar.gz && \ |
| + | tar -xzf octave-{{Release}}.tar.gz |
| + | |-style="vertical-align:top;" |
| + | | colspan="2" | |
| + | mkdir .build && \ |
| + | cd .build && \ |
| + | ./../configure --prefix=$HOME/my_octave && \ <ref><code>--prefix</code> determines the installation location.</ref> |
| + | make -j2 && \ <ref>Depending on your system and processor count, use a larger number of parallel jobs, e.g. <code>-j8</code>.</ref> |
| + | make check && \ |
| + | make install |
| + | |} |
| | | |
| * Linux | | * Linux |
| ** [[Octave for Arch Linux|Arch Linux]] | | ** [[Octave for Arch Linux|Arch Linux]] |
− | ** [[Octave for Debian systems|Debian (and Debian-based)]] | + | ** [[Octave for Debian systems|Debian (and Debian-based)]] |
| ** [[Octave for RedHat Systems|RedHat (and RedHat-based)]] | | ** [[Octave for RedHat Systems|RedHat (and RedHat-based)]] |
| ** [[Octave for Slackware|Slackware]] | | ** [[Octave for Slackware|Slackware]] |
Line 15: |
Line 40: |
| There are also instructions in the [http://www.gnu.org/software/octave/doc/interpreter/Installation.html manual]. | | There are also instructions in the [http://www.gnu.org/software/octave/doc/interpreter/Installation.html manual]. |
| | | |
− | ==Dependencies== | + | == Dependencies == |
| | | |
| {| class"wikitable" | | {| class"wikitable" |
Line 126: |
Line 151: |
| | TeX Live generic | | | TeX Live generic |
| | Mixed bag of generic macro packages and fonts. | | | Mixed bag of generic macro packages and fonts. |
− | | Freely redistributable as defined by the Free Software Foundation | + | | Freely redistributable as defined by the Free Software Foundation |
| | | | | |
| | style="background:green" | | | | style="background:green" | |
Line 257: |
Line 282: |
| | style="background:yellow" | | | | style="background:yellow" | |
| |} | | |} |
− |
| + | |
| + | == Footnotes == |
| + | |
| + | <references/> |
| + | |
| [[Category:Building]] | | [[Category:Building]] |