Octave 4.0.0 on Ubuntu 14.04 Trusty with GUI as default |
Step-by-step:
- Add Octave/stable ppa
- Update and upgrade
- Download and install signal package from Octave-forge Download from here, and then in Octave do (within directory):
- Download and install control package from Octave-forge Download from here, and then in Octave do (within directory):
- Download and install audio pakcage from Octave-forge Download from here, and then in Octave do (within directory):
- Install liboctave-dev
- Configure Octave by using dpkg
- Upgrade it again
- Now you are set, try to open in: Octave.
sudo apt-add-repository ppa:octave/stable
sudo apt-get update sudo apt-get upgrade
pkg install signal-1.3.2.tar.gz
pkg install control-2.8.5.tar.gz
pkg install audio-1.1.4.tar.gz
sudo apt-get install liboctave-dev
sudo dpkg --configure octave
sudo apt-get upgrade
octave
Update to 4.0.1
- Download the source Download the latest GNU Octave binary from here, choose the .tar.gz file >> http://ftp.gnu.org/gnu/octave
- Install the Dependencies
- ./Configure, Make, Make install Extract the .tar.gz file, cd to that directory and install with,
sudo apt-get install libblas-dev liblapack-dev libpcre3-dev libarpack2-dev libcurl4-gnutls-dev epstool libfftw3-dev transfig libfltk1.3-dev libfontconfig1-dev libfreetype6-dev libgl2ps-dev libglpk-dev libreadline-dev libhdf5-dev llvm-dev lpr libosmesa6-dev pstoedit portaudio19-dev libqhull-dev libqrupdate-dev libqscintilla2-dev libqt4-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4 libqt4-opengl-dev libsuitesparse-dev libxft-dev zlib1g-dev libportaudio19-dev
mkdir build cd build ../configure make sudo make install
The PPA Octave stable is maintained by Octave developer, once you add the ppa, you don't need to install from the source. However, there might be some delay time of the newest octave from the source to ppa.