Octave for Debian systems: Difference between revisions

Jump to navigation Jump to search
Overhaul and shorten intro section.
(→‎Octave's Personal Package Archive (PPA) for Ubuntu: Mention, that this approach is no longer actively maintained.)
(Overhaul and shorten intro section.)
Line 1: Line 1:
For Debian, and Debian-based distributions such as Ubuntu, specific solutions.
* ''This article addresses the [[:Category:Installation|installation]] and [[Building]] of GNU Octave on Debian, and Debian-based distributions such as Ubuntu.''


== Pre-compiled binaries ==
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:
 
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


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.
In Debian and Ubuntu the "complete" GNU Octave software is split over multiple packages. To obtain the complete features of Octave, install additionally


For Debian stable users, there may also be newer packages available in backports, so don't forget to check there.
* {{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.


=== Octave packages ===
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:
 
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


=== Octave's Personal Package Archive (PPA) for Ubuntu ===
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:
 
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

Navigation menu