Friday, April 6, 2012

Install octave 3.6.1 in Debian Squeeze

Following the nice instructions found it here <- , I have successfully installed Octave 3.6.1 in Squeeze (I had to rename some packages names to fit with the Squeeze packages).

FIRST STEP: Install the required libraries and dependencies.

sudo apt-get install gfortran build-essential
sudo apt-get install libqhull-dev libpcre++-dev libblas-dev liblapack-dev libreadline-dev
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libfltk1.1-dev
sudo apt-get install libgraphicsmagick++-dev
sudo apt-get install libhdf5-serial-dev
sudo apt-get install libqrupdate-dev
sudo apt-get install libsuitesparse-dev
sudo apt-get install  glpk gperf flex bison libfontconfig1-dev

SECOND STEP: Download Octave and extract it.

tar -xvf octave-3.6.1.tar.gz

THIRD STEP: Compile it.

cd octave-3.6.1/
make -j3

where 3 is the number of cores +1 (for me 2 cores)

FOURTH STEP: Validate the compiled version:

make check

FIFTH STEP: Install Octave

sudo make install

That's all. Thanks to Lindqvist - a blog about Linux and Science. Mostly.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.