Editing Octave for Debian systems

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 21: Line 21:
 
  sudo apt-get install octave
 
  sudo apt-get install octave
  
== Building Octave ==
+
== Compiling from source ==
  
: ''For general build instructions, see [[Building]].''
+
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.
 
 
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 75: Line 73:
 
<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 ===

Please note that all contributions to Octave may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Octave:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)