Octave for Debian systems: Difference between revisions

→‎Compiling from source: Strip common content already addressed in Building.
(→‎Pre-compiled binaries: Homebrew is distribution independent. Mentioned at Octave for GNU/Linux.)
(→‎Compiling from source: Strip common content already addressed in Building.)
Line 25: Line 25:
  sudo apt-get install octave
  sudo apt-get install octave


== Compiling from source ==
== Building Octave ==


The ''only'' tricky part is to install the dependencies. Once that is solved, installing from source should be as easy as {{Codeline|./configure && make && make install}}. See the manual for [http://www.gnu.org/software/octave/doc/interpreter/Running-Configure-and-Make.html configure options] and [[Octave_for_Debian_systems#Configuration|below]] for some common examples.
: ''For general build instructions, see [[Building]].''
 
The ''only'' tricky part is to install the Octave build dependencies. Once that is solved, one can easily follow the [[Building|general build instructions]]. See [[#Configuration|below]] for some Debian and Ubuntu specific configuration options.


=== Install dependencies ===
=== Install dependencies ===
Line 296: Line 298:
<li>When configure decides to use QT5 instead of QT4, make might fail because lrelease is missing (see [https://savannah.gnu.org/bugs/?50580 bug 50580]).  It can be fixed by installing {{Codeline|qttools5-dev-tools}}</li>
<li>When configure decides to use QT5 instead of QT4, make might fail because lrelease is missing (see [https://savannah.gnu.org/bugs/?50580 bug 50580]).  It can be fixed by installing {{Codeline|qttools5-dev-tools}}</li>
</ul>}}
</ul>}}
=== Obtaining the Source ===
The source code for Octave releases can be obtained as a tarball from [https://ftp.gnu.org/gnu/octave/ https://ftp.gnu.org/gnu/octave/].  The source code for development versions is available by cloning the [[Mercurial|mercurial repository]].
=== Bootstrap ===
If you are building development versions instead of an actual Octave release, you will need to run the {{Codeline|./bootstrap}} script.


=== Configuration ===
=== Configuration ===