Octave for GNU/Linux: Difference between revisions

Jump to navigation Jump to search
2,337 bytes removed ,  9 March 2013
→‎Debian: These are installation instructions, not a Debian tutorial
(→‎Ubuntu: removed build instructions. See Debian)
(→‎Debian: These are installation instructions, not a Debian tutorial)
Line 13: Line 13:
=Debian=
=Debian=


For building from source, see the [[Debian]] instructions.
    $ sudo aptitude install octave<version> octave<version>-doc


Determine what packages are currently available, using e.g.
where {{Codeline|<version>}} must be substituted by the appropriate string.


    $ aptitude search octave
The Octave-Forge packages are spread over many Debian packages. All Octave-Forge packages will probably be found with the command:  
 
As of 2008/05, the command above should list, amongst others:
 
    octave3.0 - GNU Octave language for numerical computations (3.0 branch)
    octave3.0-doc - PDF documentation on the GNU Octave language (3.0 branch)
    octave3.0-emacsen - Emacs support for the GNU Octave language (3.0 branch)
    octave3.0-headers - header files for the GNU Octave language (3.0 branch)
 
In July, 2012, with that time current stable (Squeeze), you get above mentioned in 3.2 version, so replace names of the packages appropriately in the following commands.
 
Select your choice of packages, then install them, e.g. w/
 
    # aptitude install octave3.0 octave3.0-doc octave3.0-emacsen
 
==Notes:==
 
*For brevity, the numerous other Debian packages have been omitted in the above list.
*At a minimum, one should install one of the packages returned by the command:
 
    $ aptitude search ?provides\(^octave$\)
 
*The OctaveForge packages are spread over many Debian packages. All OctaveForge packages will probably be found with the command:  


     $ aptitude search ?description\(octave-forge\)
     $ aptitude search ?description\(octave-forge\)
==[http://wiki.octave.org/wiki.pl?action=anchor&id=DebianDevelopmentSources#DebianDevelopmentSources Debian Development Sources]==
In order to build Octave from development sources, the first step is to follow the instructions given under the heading Development Sources of [http://www.gnu.org/software/octave/download.html Downloading Octave]. These commands require Mercurial, which can be installed with the command
    # aptitude install mercurial
Building Octave from sources requires a number of programs and libraries. All of these are available as Debian packages and the list given on [Debian's source package page for Octave3.2] can be used for reference and installed by
# aptitude build-dep octave3.2
After this, it should be possible to follow the [[Build from source]] instructions.
==Debian Versions==
Note that on Debian, multiple versions of Octave are provided concurrently and thus, Octave packages have names that include the version number, such as, for example: octave2.1-emacsen, octave3.0-emacsen, octave3.2-emacsen. This may change with Octave 3.4.
References: [https://mailman.cae.wisc.edu/pipermail/help-octave/2009-November/037394.html Upgrade Ubuntu Jaunty to Karmic (9.04 to 9.10) breaks self-compiled octave]([http://thread.gmane.org/gmane.comp.gnu.octave.general/27056/focus=27080 Gmane copy]), [http://lists.alioth.debian.org/pipermail/pkg-octave-devel/2011-February/007699.html Octave 3.4]


=Ubuntu=
=Ubuntu=
27

edits

Navigation menu