*  Informatique / Octave / Installation on Ubuntu 16.04 LTS

        * Installation of Octave 4.2.1
        * Installation of Octave 4.2.0
        * Installation of Octave 4.0.3
        * Installation of Octave 4.0.2
        * Installation of Octave 4.0.1
        * Installation of Octave 4.0.0

pict pict

On my computer, I need to install some packages

sudo apt install openjdk-8-jdk gcc g++ gfortran
sudo apt install libpcre3-dev libqhull-dev libbz2-dev libhdf5-dev libfftw3-dev libsndfile1-dev
sudo apt install libglpk-dev libcurl4-gnutls-dev libfreetype6-dev libgraphicsmagick1-dev libgraphicsmagick++1-dev
sudo apt install libparpack2 libncurses5-dev libreadline6-dev
sudo apt install gperf flex bison gnuplot libfltk1.3-dev libarpack++2-dev libqrupdate-dev
sudo apt install libosmesa6-dev libqt5scintilla2-dev libqscintilla2-dev  qttools5-dev-tools
sudo apt install libxft-dev libgl2ps-dev texinfo

*  Installation of Octave 4.2.1

Installing Octave 4.2.1 on Ubuntu 16.04.3 LTS (xenial - x86_64). October 13, 2017

  1. Get source code :
    wget ftp://ftp.gnu.org/gnu/octave/octave-4.2.1.tar.xz
    tar xvfJ octave-4.2.1.tar.xz
    cd octave-4.2.1

  2. Configure stage :
    export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
    ./configure --prefix=/usr/local/OCTAVE/4.2.1 CPPFLAGS=-I/usr/include/hdf5/serial LDFLAGS=-L/usr/lib/usr/lib/x86_64-linux-gnu/hdf5/serial/

  3. Compilation : Run make command and be patient...
  4. Installation : Run sudo make install command.

*  Installation of Octave 4.2.0

Installing Octave 4.2.0 on Ubuntu 16.04.3 LTS (xenial - x86_64). October 13, 2017

  1. Get source code :
    wget ftp://ftp.gnu.org/gnu/octave/octave-4.2.0.tar.xz
    tar xvfJ octave-4.2.0.tar.xz
    cd octave-4.2.0

  2. Configure stage :
    export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
    ./configure --prefix=/usr/local/OCTAVE/4.2.0 CPPFLAGS=-I/usr/include/hdf5/serial LDFLAGS=-L/usr/lib/usr/lib/x86_64-linux-gnu/hdf5/serial/

  3. Compilation : Run make command and be patient...
  4. Check : Run make check command.
  5. Installation : Run sudo make install command.

*  Installation of Octave 4.0.3

Installing Octave 4.0.3 on Ubuntu 16.04 LTS (trusty - x86_64). November 3, 2016

  1. Get source code :
    wget ftp://ftp.gnu.org/gnu/octave/octave-4.0.3.tar.xz
    tar xvfJ octave-4.0.3.tar.xz
    cd octave-4.0.3

  2. Configure stage :
    export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
    ./configure --prefix=/usr/local/OCTAVE/4.0.3 CPPFLAGS=-I/usr/include/hdf5/serial LDFLAGS=-L/usr/lib/usr/lib/x86_64-linux-gnu/hdf5/serial/

  3. Compilation : Run make command and be patient...
  4. Check : Run make check command.

    On my computer I have trouble with this command. After a few minutes, a segmentation fault occurs


    ...
    libinterp/dldfcn/__osmesa_print__.cc-tst ....................panic:
    Segmentation fault -- stopping myself...

  5. Installation : Run sudo make install command.

*  Installation of Octave 4.0.2

Installing Octave 4.0.2 on Ubuntu 16.04 LTS (trusty - x86_64). November 4, 2016

  1. Get source code :
    wget ftp://ftp.gnu.org/gnu/octave/octave-4.0.2.tar.gz
    tar xvfz octave-4.0.2.tar.gz
    cd octave-4.0.2

  2. Configure stage :
    export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
    ./configure --prefix=/usr/local/OCTAVE/4.0.2

  3. Compilation : Run make command and be patient...
  4. Check : Run make check command.

    On my computer I have trouble with this command. After a few minutes, a segmentation fault occurs


    ...
    libinterp/dldfcn/__osmesa_print__.cc-tst ....................panic:
    Segmentation fault -- stopping myself...

  5. Installation : Run sudo make install command.

*  Installation of Octave 4.0.1

Installing Octave 4.0.1 on Ubuntu 16.04 LTS (trusty - x86_64). November 4, 2016

  1. Get source code :
    wget ftp://ftp.gnu.org/gnu/octave/octave-4.0.1.tar.xz
    tar xvfJ octave-4.0.1.tar.xz
    cd octave-4.0.1

  2. Configure stage :
    export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
    ./configure --prefix=/usr/local/OCTAVE/4.0.1

  3. Compilation : Run make command and be patient...
  4. Check : Run make check command.

    On my computer I have trouble with this command. After a few minutes, a segmentation fault occurs


    ...
    libinterp/dldfcn/__osmesa_print__.cc-tst ....................panic:
    Segmentation fault -- stopping myself...

  5. Installation : Run sudo make install command.

*  Installation of Octave 4.0.0

Installing Octave 4.0.0 on Ubuntu 16.04 LTS (trusty - x86_64). November 4, 2016

  1. Get source code :
    wget ftp://ftp.gnu.org/gnu/octave/octave-4.0.0.tar.xz
    tar xvfJ octave-4.0.0.tar.xz
    cd octave-4.0.0

  2. Configure stage :
    export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
    ./configure --prefix=/usr/local/OCTAVE/4.0.0

  3. Compilation : Run make command and be patient...
  4. Check : Run make check command.

    On my computer I have trouble with this command. After a few minutes, a segmentation fault occurs


    ...
    libinterp/dldfcn/__osmesa_print__.cc-tst ....................panic:
    Segmentation fault -- stopping myself...

  5. Installation : Run sudo make install command.