Open main menu

Changes

978 bytes added ,  22:43, 24 October 2019
Add general build steps.
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
** [[Octave for Arch Linux|Arch Linux]]
** [[Octave for Debian systems|Debian (and Debian-based)]]
** [[Octave for RedHat Systems|RedHat (and RedHat-based)]]
** [[Octave for Slackware|Slackware]]
There are also instructions in the [http://www.gnu.org/software/octave/doc/interpreter/Installation.html manual].
==Dependencies==
{| class"wikitable"
| TeX Live generic
| Mixed bag of generic macro packages and fonts.
| Freely redistributable as defined by the Free Software Foundation
|
| style="background:green" | &nbsp;
| style="background:yellow" | &nbsp;
|}
== Footnotes == <references/> 
[[Category:Building]]