Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Yet again I am to turn to this wonderful resource available to me and ask, how do I install the latest version of GNU Octave (not Octave 3.2.4 -- the one available in the software centre)?

share|improve this question
It doesn't work at my system... The following lines seems to be OK wget tar -xvf octave-3.8.0.tar.bz2 cd octave-3.8.0 sudo apt-get build-dep octave ./configure make but the last one seems not work... sudo make install The system tells me, that is not a rule defined. What's wrong with the procedure...? Thanks a lot for your support – user272969 Apr 23 '14 at 10:42
This is what happens when i try to run using the command on terminal. ln: failed to create symbolic link ‘/usr/local/bin/octave’: Permission denied – user426626 Jul 5 '15 at 11:20
up vote 16 down vote accepted

For octave 3.6.1

sudo add-apt-repository ppa:picaso/octave
sudo apt-get update ; sudo apt-get install octave

Yes you can get octave-3.6.3 , open your terminal and paste this

tar -xvf octave-3.6.3.tar.bz2
cd octave-3.6.3
 sudo make install 

Hope that helps :D

share|improve this answer
Well this is something I suppose, but I was hoping for something that would give me the latest version of Octave (3.6.3) – Brenton Horne Sep 29 '12 at 17:51
@BrentonHorne hi answer updated – Raja Sep 29 '12 at 18:32
That does help :) – Brenton Horne Sep 29 '12 at 20:03
One other thing, how do I create a launcher in Cairo-Dock for Octave 3.6.3? – Brenton Horne Sep 29 '12 at 21:21

You can install the latest stable version of GNU Octave for any supported Ubuntu release:

sudo apt-add-repository ppa:octave/stable
sudo apt-get update
sudo apt-get install octave

This PPA is maintained and supported by several Octave developers.

share|improve this answer

Ubuntu 12.04.3 and Octave 3.8.0 with statistics

tar -xvf octave-3.8.0.tar.bz2
cd octave-3.8.0
sudo apt-get build-dep octave
sudo make install

sudo apt-get install octave-statistics
pkg install -forge io
pkg install -forge statistics
pkg load statistics
share|improve this answer

Additionally now I know you can copy the following into the terminal:

tar -xvf /home/username/octave-version#.tar.gz
sudo rm /home/username/octave-version#.tar.gz
cd /home/username/octave-version#
ln -s /home/username/octave-version#/run-octave /usr/local/bin/octave
share|improve this answer

protected by Community Jul 5 '15 at 12:50

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.