When I issue
sudo apt-get install octave
it installs octave 4.0.0. However our instructor tells us this version is broken and we have to install version 4.0.1. So I checked the available versions that the package manager has available:
mzh:~ $ sudo apt-cache madison octave
octave | 4.0.0-3ubuntu9.1 | http://ch.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
octave | 4.0.0-3ubuntu9 | http://ch.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Looks like only 4.0.0 are available. What do I have to do so that I can install 4.0.1?
I'm here probably for the same reason...
To get latest version (4.2.1 right now) :
You should compile it from source
First make sure this all dependence are installed:
The simple method of
sudo apt-get build-dep octave
doesn't seem to work anymore as far as i knowThen :
By the way, i would suggest you go with the lastest version of
octave
.