Building: Difference between revisions

Jump to navigation Jump to search
104 bytes added ,  25 October 2019
→‎General steps: Drop table layout.
(More description.)
(→‎General steps: Drop table layout.)
Line 3: Line 3:
== General steps ==
== General steps ==


{| class="wikitable"
# Install all [[#Dependencies|build dependencies]] (see below).
! Build from the development repository
# Getting the Octave sources ...
! Build from a release
#* ... from the development repository
|-
<div style="margin-left:5em;">
| 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 && \
  hg clone https://www.octave.org/hg/octave && \
  cd octave                                  && \
  cd octave                                  && \
  ./bootstrap
  ./bootstrap
|
</div>
::* ... from a release
<div style="margin-left:5em;">
  wget https://ftpmirror.gnu.org/octave/octave-{{Release}}.tar.gz && \
  wget https://ftpmirror.gnu.org/octave/octave-{{Release}}.tar.gz && \
  tar -xzf octave-{{Release}}.tar.gz
  tar -xzf octave-{{Release}}.tar.gz                               && \
|-style="vertical-align:top;"
cd octave-{{Release}}
| colspan="2" |
</div>
: 3. Configure, build, check, and install Octave
<div style="margin-left:3em;">
  mkdir .build                            && \
  mkdir .build                            && \
  cd    .build                            && \
  cd    .build                            && \
Line 24: Line 25:
  make check                              && \
  make check                              && \
  make install
  make install
|}
</div>


== Dependencies ==
== Dependencies ==

Navigation menu