661
edits
(Not everyone will understand what a PPA is. I did not when I started with Octave in Linux.) |
Carandraug (talk | contribs) (move PPA section as subsection of pre compiled binaries) |
||
Line 2: | Line 2: | ||
== Pre-compiled binaries == | == Pre-compiled binaries == | ||
=== Distribution repositories === | |||
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. | 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 | |||
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 library and required to install some Octave Forge packages, and {{codeline|octave-dbg}} for the debugging symbols. | |||
== Octave's Personal Package Archive (PPA) == | === Octave's Personal Package Archive (PPA) === | ||
However, for some Ubuntu releases the octave packages are old. The [https://launchpad.net/~octave GNU Octave Team] on Launchpad maintain a PPA providing a binary packages of the latest stable and unstable versions of Octave for all versions of Ubuntu. To set up your system to install these packages | However, for some Ubuntu releases the octave packages are old (Debian Squeeze and Ubuntu 12.04 or older only have Octave version 3.2). The [https://launchpad.net/~octave GNU Octave Team] on Launchpad maintain a PPA providing a binary packages of the latest stable and unstable versions of Octave for all versions of Ubuntu. To set up your system to install these packages | ||
sudo apt-add-repository ppa:octave/stable | sudo apt-add-repository ppa:octave/stable | ||
sudo apt-add-repository ppa:octave/unstable | sudo apt-add-repository ppa:octave/unstable # optional | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install octave | sudo apt-get install octave |