1,855
edits
(→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: | ||
* ''This article addresses the [[:Category:Installation|installation]] and [[Building]] of GNU Octave on Debian, and Debian-based distributions such as Ubuntu.'' | |||
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 | |||
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 | |||
* {{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. | |||
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 | |||
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: | |||
sudo apt-add-repository ppa:octave/stable | sudo apt-add-repository ppa:octave/stable |