From: Lucas Tarr Date: 2009 January 15, 3:04:55 PM MST To: Charles Kankelborg Subject: octave and debian-esque linux Charles, I put this together for anyone using ubuntu 8.10, hardy heron, (and other debian-esque builds), who does not want to build octave3.0 from source.  There's a bit of work to get the extra packages going.  If you think other people in the class would benefit from it, pass it along, if not, trash this email.  :-) First, get all the basic octave3.0 stuff: user@compy$ sudo apt-get install octave3.0 octave3.0-doc octave3.0-emacsen octplot octaviz gnuplot octave3.0-headers octave3.0-info There is no octave-forge3.0 in the repositories.  You can download it from sourceforge, however: user@compy$ wget http://voxel.dl.sourceforge.net/sourceforge/octave/octave-forge-bundle-20080831.tar.gz Then we need to install those packages: user@compy$ cd /usr/local/source user@compy$ sudo tar -xvzf /tmp/octave-forge-bundle-20080831.tar.gz user@compy$ octave3.0 -q octave3.0> f=glob("/usr/local/src/octave-forge-bundle-20080831/main/*tar.gz"); octave3.0> for i=1:length(f); disp(["  installing " f{i} " ..."]); octave3.0> eval(["pkg install " f{i}],'printf (" ---------> failed:\n%s", lasterr ());'); octave3.0> endfor And that should hopefully do it.  Or, if people don't want all those packages (~10Mb) they can download each individually as needed from http://octave.sourceforge.net/packages.html and install them as above  (eg, with "pkg install " from inside the octave3.0> shell) For easy copy/pasting of the above: ++++++++++++++++++++++++++++++++++ sudo apt-get install octave3.0 octave3.0-doc octave3.0-emacsen octplot octaviz gnuplot octave3.0-headers octave3.0-info cd /tmp sudo wget http://voxel.dl.sourceforge.net/sourceforge/octave/octave-forge-bundle-20080831.tar.gz cd /usr/local/src/ sudo tar -xvzf /tmp/octave-forge-bundle-20080831.tar.gz sudo octave3.0 -q ***wait for all that to finish...ok, now copy paste the following inside the octave shell*** f=glob("/usr/local/src/octave-forge-bundle-20080831/main/*tar.gz"); for i=1:length(f); disp(["  installing " f{i} " ..."]); eval(["pkg install " f{i}],'printf (" ---------> failed:\n%s", lasterr ());'); endfor ++++++++++++++++++++++++++++++++++++ You WILL get errors, but that's not a big problem.  There's just some unmet dependencies for some of those packages, plus a number of warnings about type conversions.  Now we should be ready to roll in all the octave-forge3.0 goodness. best, lucas