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

I'm having Problems with using imsgesc and ginput in my octave-3.2.4 version and would like to upgrade to octave-3.6.2, how can this be done?

share|improve this question

Download Octave 3.6.2 From here. Save it to your hard drive and install it. For information on how to install .tar.gz take a look at this.

share|improve this answer

Besides installing the upstream version from source, you have a couple other options.

Install From Quantal Packages

Octave 3.6.2 is packaged for Quantal (the upcoming Ubuntu release). It might (usually does, sometimes doesn't) work to manually download those packages.

  1. Expand 3.6.2-3 under "The Quantal Quetzal (active development)".
  2. Get the packages for your architecture--i386 or amd64.
  3. Get the ones for all architectures as well.
  4. Put them in a folder that contains no other files.
  5. Open a Terminal window (Ctrl+Alt+T).
  6. Run this command:

    sudo dpkg -Ri foldername

    (You can drag the folder from Nautilus into the Terminal and it will paste its full name automatically.)

  7. If you are told that one or more packages couldn't be configured, make sure you're connected to the Internet and run:

    sudo apt-get -f install
    sudo dpkg --configure -a

Use a PPA

You may be able to find Octave 3.6.2 pre-built for the Ubuntu release you're currently running, provided by an unofficial PPA. If so, this may be the best way to install it. But please read this first so you know about possible dangers from PPA's.

You can find some PPA's that provide Octave (though it won't necessarily be an exhaustive list) by going to the bottom of this page and clicking the green link that says "Other versions of 'octave' in untrusted archives."

In particular, if you're running Ubuntu 12.04, I'd suggest using Albert Graef's PPA for that version.

You can enable this PPA and install Octave from it by running these commands in the Terminal:

sudo add-apt-repository ppa:dr-graef/octave-3.6.precise
sudo apt-get update
sudo apt-get install octave
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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