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 1: Line 1:
* ''This article addresses the [[:Category:Installation|installation]] and [[Building]] of GNU Octave on Debian, and Debian-based distributions such as Ubuntu.''
+
For Debian, and Debian-based distributions such as Ubuntu, specific solutions.
  
Binary packages for GNU Octave and many [[Octave Forge]] packages are provided by all versions of Debian and Ubuntu. These are the most well-tested binaries available and should work best for most users. To install them, run:
+
== Pre-compiled binaries ==
 +
 
 +
Binary packages for Octave and many Octave-Forge packages are provided by all versions of Debian and Ubuntu. These are the most well-tested binaries available and should work best for most users.
  
 
  sudo apt-get install octave
 
  sudo apt-get install octave
  
In Debian and Ubuntu the "complete" GNU Octave software is split over multiple packages. To obtain the complete features of Octave, install additionally
+
Aside the {{codeline|octave}} package that installs GNU Octave, other pieces of it are split over multiple packages. These are {{codeline|octave-doc}}, {{codeline|octave-info}}, and {{codeline|octave-htmldoc}} for the documentation; {{codeline|liboctave-dev}} for the octave development header files and mkoctfile (required to install Octave Forge packages); and {{codeline|octave-dbg}} for the debugging symbols.
  
* {{codeline|octave-doc}}, {{codeline|octave-info}}, and {{codeline|octave-htmldoc}} for the documentation;
+
For Debian stable users, there may also be newer packages available in backports, so don't forget to check there.
* {{codeline|liboctave-dev}} for the octave development header files and mkoctfile (required to install Octave Forge packages); and
 
* {{codeline|octave-dbg}} for the debugging symbols.
 
  
Many Octave packages are also distributed by Debian and Ubuntu.  These are tested to work the best with the respective Octave version.  Install them via:
+
=== Octave packages ===
 +
 
 +
Many Octave packages are also distributed by your Linux distribution.  These are tested to work the best with your Octave version.  For example:
  
 
  sudo apt-get install octave-control octave-image octave-io octave-optim octave-signal octave-statistics
 
  sudo apt-get install octave-control octave-image octave-io octave-optim octave-signal octave-statistics
  
Up to 2018, the [https://launchpad.net/~octave GNU Octave Team] on Launchpad actively maintained a PPA providing more up to date packages of Octave.  These are backported from Debian unstable and are still useful for older Ubuntu installations.  To set up your system to install these packages, run:
+
=== Octave's Personal Package Archive (PPA) for Ubuntu ===
 +
 
 +
Until 2018, the [https://launchpad.net/~octave GNU Octave Team] on Launchpad maintained a PPA providing more up to date packages of Octave.  These are backported from Debian unstable and are still useful for older Ubuntu installations.  To set up your system to install these packages, run:
  
 
  sudo apt-add-repository ppa:octave/stable
 
  sudo apt-add-repository ppa:octave/stable

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)