Installing Octave on Ubuntu

Let me try to became total independent from Windows / Matlab, the last thing that holds me on it.

Otherwise if you try to install Octave directly using apt-get tools you will probably see a message like this (portuguese O.S. host):

user@host:~/$ sudo apt-get install octave3.2
[...]
E: Impossível buscar alguns arquivos, talvez executar apt-get update 
ou tentar com --fix-missing?

This is because Ubuntu have some broken dependences on it default
packages, so it is necessary to install first the following packages:

user@host:~/$ sudo apt-get install libfftw3-3 texinfo tex-common 
libgsl0-dev 2>&1&> octave_packages.log

Now you can install Octave using apt-get tools:

user@host:~/$ sudo apt-get install octave3.2 octave3.2-doc 
octave3.2-htmldoc 2>&1&> octave.log

user@host:~/$ octave
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to  (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

octave:1>

See more:
http://wiki.ubuntu-br.org/InstalandoGnuOctave

See ya

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: