Octave 3.6.x image processing on Ubuntu Legacy
in Linux / Research / Software on Image processing, Linux, Matlab, Octave
If you want to install the most recent version of Octave, an open source MatLab clone, on your older Ubuntu box you are out of luck. Only the most recent repositories (> 13.x) carry the latest Octave releases.
I found this quick fix for the problem. It involves four steps on a terminal.
sudo apt-add-repository ppa:octave/stable sudo apt-get update sudo apt-get install octave sudo apt-get install liboctave-dev
To get to a fully functioning image processing toolbox run the following commands:
sudo octave
on the octave prompt
pkg -verbose install -forge general pkg -verbose install -forge control pkg -verbose install -forge specfun pkg -verbose install -forge signal pkg -verbose install -forge image
The command ‘pkg list’ will return a list of installed packages
pkg list
Package Name | Version | Installation directory --------------+---------+----------------------- control *| 2.6.0 | /usr/share/octave/packages/control-2.6.0 general | 1.3.2 | /usr/share/octave/packages/general-1.3.2 image | 2.0.0 | /usr/share/octave/packages/image-2.0.0 signal | 1.2.2 | /usr/share/octave/packages/signal-1.2.2 specfun | 1.1.0 | /usr/share/octave/packages/specfun-1.1.0
Finally, you load the image package using:
pkg load image