[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave 3.2.2 for Ubuntu9.04 -- How to compile from sources

From: Judd Storrs
Subject: Re: Octave 3.2.2 for Ubuntu9.04 -- How to compile from sources
Date: Sat, 19 Sep 2009 22:51:12 -0400

I've been pretty piecemeal in my use of octave-forge and I don't remember running into any problems by just following the instructions in the orange box on

Basically, I've always just downloaded the desired package.tar.gz from sourceforge and then I run octave inside the download directory and type:

pkg install package.tar.gz

And everything has magically worked for me. I think that if you've already built octave you should have everything that is needed (unless the package has additional requirements--none of the ones I use do).

I don't know if there's a way to build and install them all or to automatically download dependencies but I think I remember seeing something about the mentioned in the octave-forge website.


On Sat, Sep 19, 2009 at 7:31 PM, <address@hidden> wrote:

Date: Sat, 19 Sep 2009 16:27:03 -0400
Subject: Re: Octave 3.2.2 for Ubuntu9.04 -- How to compile from sources
From: address@hidden
To: address@hidden
CC: address@hidden

The following describes how I successfully built octave-3.2.2 on a fresh install of Ubuntu 9.04. After I finished install from the CD, I used Synaptic to update all Ubuntu packages. I did not change any software sources from the defaults. Here's how I proceeded:

1) Install library dependencies

First try:

$ sudo apt-get install libcurl4-dev libgraphicsmagick++1-dev libfltk-dev libarpack2-dev

If it succeeds proceed to step 2. Otherwise if it complains that there is more than one package that satisfies libcurl4-dev use

$ sudo apt-get install libcurl4-gnutls-dev

and then repeat the first command again.

libcurl4-dev is required for step 2, but it is a virtual package satisfied by two other packages--either libcurl4-gnutls-dev or libcurl4-openssl-dev. I used libcurl4-gnutls-dev but I assume you could use the openssl one. If the first command succeeds then you already have one of these.

2) Install packages needed to build octave

$ sudo apt-get build-dep octave3.0

3) Download libqrupdate packages from Karmic. (OPTIONAL)

Get and install packages for your platform from:

Install them using gdebi or

$ dpkg -i libqrupdate1_1.0.1-1_i386.deb libqrupdate-dev_1.0.1-1_i386.deb

4) Download, extract, and build octave-3.2.2

$ wget
$ tar xf octave-3.2.2.tar.bz2
$ cd octave-3.2.2
$ ./configure --prefix=/usr/local
$ make
$ make check
$ sudo make install

Hope this helps.


I tried this and it worked!!

Now How do you add all the packages from source forge?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]