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?
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.
3.6.2-3under "The Quantal Quetzal (active development)".
- Get the packages for your architecture--
- Get the ones for
allarchitectures as well.
- Put them in a folder that contains no other files.
- Open a Terminal window (Ctrl+Alt+T).
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.)
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."
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