After these steps, I worked for me [Author: Christopher KronstrΓΆm (hymyly)]:
Install the developer packages needed to create an octave.
sudo apt-get build-dep octave
Get the official source package. Do this in a clean directory, because it will be dirty.
cd ~/some/suitable/directory apt-get source octave
Build it. It took me about an hour.
cd octave-3.8.2 dpkg-buildpackage
Or run it from the assembly directory:
./run-octave
... or most preferably set it on top of the official octave:
cd .. sudo dpkg --install octave_3.8.2-4_amd64.deb
From: https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1372202
user27221
source share