How to install octave on linux ubuntu?


I would like to use octave for statistical data analysis, since octave is a free software. Is there some free download that exists for octave for ubuntu linux. Is there also some free downloads center that existst for octave packages for ubuntu, that I could download for free? Finally, how do I install octave on linux ubuntu and how do I add packages to octave?


On ubuntu you can use:

$ sudo apt-get install octave

to install additional packages first search for package name with keywords related to your desired package:

$ apt-cache search <some octave package>

when you have the package name you wish to install simply use apt-get again:

$ sudo apt-get install <package-name>

hope this helps