Octave 4.0 (Open-source Matlab Alternative) Has Received a GUI and a Lot of New Features

As you may know, GNU Octave is an open-source, Matlab alternative. The software provide capabilities for numerical solution of linear and nonlinear problems and has graphics capabilities for data visualization and manipulation.

For now, GNU Octave was only a command-line interface application but starting with Octave 4.0.0, which has been recently released, it also got a GUI. Also, the software now uses OpenGL graphics with Qt widgets by default and a lot of new functions and options have been implemented. For more information about this software, read the changelog.

Installation instructions:

Octave 4.0 is not available via any repository or PPA and so, we need to install it from sources, which takes a lot of time and energy.

However, if you still want to proceed, you need to build the octave dependencies, download the octave*.tar.gz archive from GNU, extract it, cd into the extracted folde and run configure, make and make install:

$ sudo apt-get build-dep octave
$ wget ftp.gnu.org/gnu/octave/octave-4.0.0.tar.gz
$ tar xzvf octave-4.0.0.tar.gz
$ cd octave-4.0.0
$ ./configure
$ make
$ sudo make install

By default, when you start octave, from either the terminal or by double-clicking the icon, it starts in the GUI mode.

For the command-line version of octave, start it like this:

$ octave --no-gui

I have tested the instructions on Ubuntu 15.04 Vivid Vervet and Ubuntu 14.04 Trusty Tahr, so the installation steps would most likely work on derivative systems like Linux Mint 17.2 Rafaela, Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Pinguy OS 14.04, Elementary OS 0.3 Freya, Deepin 2014, Peppermint Five, LXLE 14.04 and Linux Lite 2.

Liked it? Take a second to support Geekster on Patreon!
Tagged with: , , , , , , , , , , , , , , , , , , ,
Posted in The Linux and Unix Articles!
9 comments on “Octave 4.0 (Open-source Matlab Alternative) Has Received a GUI and a Lot of New Features
  1. Karthikeya says:

    Thanks a lot for the elegant steps to install Octave 4.0. Couldn’t find any other resource online for installation. Though the installed version say as Octave 4.0.0, the GUI is not triggered. What could be the problem?

    • Tim says:

      Hey Karthikeya,

      I had the same. Installation was pretty good, but I can’t call the gui! Did you get any solution? Any expiriences are much appreciated.

      Cheers

  2. HelloShitty says:

    There are some problems when configuring this gui Octave. HDF5 and OSMesa.
    For OSMesa, on Debian Jessie, run “sudo apt-get install -y libosmesa6-dev”.

    For HDF5 run ./configure as “./configure CPPFLAGS=-I/usr/include/hdf5/serial LDFLAGS=-L/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/serial” without the quotes and it should be fine!

  3. Vinicius says:

    Hello, i can install octave but it won’t create the GUI… What can i do?

  4. helping hand says:

    If you guys can’t get the gui running, launch the app with:
    octave –force-gui

    cheers!

  5. Ravichadra R says:

    Thank you for the simple and complete instruction, I could manage to install Octave 4.0 and command mode opens by triggering “Octave” in Terminal. However GUI was not working for even after i run “sudo apt-get install -y libosmesa6-dev”.

    Any idea who to fix this issue and get GUI?
    Thank you

  6. Massimiliano Zonta says:

    I have installed Octave 4.0 on Ubuntu 14.04 with the GUI running.
    Following the guide I found in another here
    http://www.schoeps.org/home/2015/06/five-simple-instructions-to-compile-octave-4-on-ubuntu/ that should based on Octave Wiki.

    The first time I had problem with libosmesa6-dev because my configuration doesn’t let me to install. So I avoid to install it.

    But the GUI was not enable.
    Looking at the wiki I found that was missing libqt4-opengl-dev.
    After install it and remake all again than the GUI will appear.

  7. Kalin V says:

    Cool! . GUI is work .. thanks for share this tutorial

  8. Jim says:

    I got the gui to work, but it was a lot of effort. Based on the output from running “./configure”, I had to run “apt-file search ” to find the name of the library, and then perform a “sudo apt-get install “. There were a LOT of libraries and utilities I needed to install on my system before “./configure” would give a clean output with no warnings.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Support LinuxG via Patreon
Support LinuxG.net on Patreon!
Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!