Ubuntu: How do you install the latest version of GNU Octave?



Question:

Yet again I am to turn to this wonderful resource available to me and ask, how do I install the latest version of GNU Octave (not Octave 3.2.4 -- the one available in the software centre)?


Solution:1

For octave 3.6.1

sudo add-apt-repository ppa:picaso/octave  sudo apt-get update ; sudo apt-get install octave  

Yes you can get octave-3.6.3 , open your terminal and paste this

wget ftp://ftp.gnu.org/gnu/octave/octave-3.6.3.tar.bz2  tar -xvf octave-3.6.3.tar.bz2  cd octave-3.6.3  ./configure   make   sudo make install   

Hope that helps :D


Solution:2

You can install the latest stable version of GNU Octave for any supported Ubuntu release:

sudo apt-add-repository ppa:octave/stable  sudo apt-get update  sudo apt-get install octave  

This PPA is maintained and supported by several Octave developers.


Solution:3

Ubuntu 12.04.3 and Octave 3.8.0 with statistics

wget ftp://ftp.gnu.org/gnu/octave/octave-3.8.0.tar.bz2  tar -xvf octave-3.8.0.tar.bz2  cd octave-3.8.0  sudo apt-get build-dep octave  ./configure  make  sudo make install    sudo apt-get install octave-statistics  octave  pkg install -forge io  pkg install -forge statistics  pkg load statistics  


Solution:4

Additionally now I know you can copy the following into the terminal:

wget ftp://ftp.gnu.org/gnu/octave/octave-version#.tar.gz  tar -xvf /home/username/octave-version#.tar.gz  sudo rm /home/username/octave-version#.tar.gz  cd /home/username/octave-version#  ./configure  make  ln -s /home/username/octave-version#/run-octave /usr/local/bin/octave  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »