Please see the updated version of this article about installation of software for research in Ubuntu 12.04.
This post is about ubuntu software installation for scientific computing and research in general. I wrote this post some time ago (with hardy heron in mind), but I update it every now and then with new software and links. It is updated for intrepid ibex (ubuntu 8.10) and most should still be valid for 9.04 (Jaunty Jackalope).I use ubuntu at my work mainly for searching scientific articles, statistical computing, and document typesetting in latex. After a default ubuntu installation, I need a lot more...
I need more document viewers, more web browsers (in case mozilla shows errors), more editors, the ssh server, vim, emacs, the gnu toolchain, gnu screen, subversion (svn), git, many texlive latex packages, jabref and bibutils for converting to and from other reference formats, GNU R, GNU octave, python, scipy, perl, java RE and SDK, maxima, gnu scientific library, blas, graphviz, gnuplot, pdfedit, file converter from dos to unix (tofrodos), inkscape, plugins to play media contents, etc.
Two weeks ago my new hard disk at work failed and I had to reinstall my system. Customizing the system turned out to be very fast. I install all packages I need, install acrobat reader (needing ia32-libs), then I change periodicity of system updates, and make it more comfortable. The whole procedure takes few minutes of attention.
>> sudo su
>> apt-get update && apt-get upgrade && apt-get install openssh-server build-essential gcc gcc-doc g++-multilib g++-4.2-multilib gcc-4.2-doc libstdc++6-4.2-dbg apt-file gcj gsl-bin gsl-doc-pdf gsl-ref-html libgsl0-dev gsl-bin gsl-doc-pdf libgsl0-dbg libgsl0ldbl glibc-doc libblas-dev maxima maxima-share subversion subversion-tools git screen $(aptitude search R| grep -v ^i | awk '{print $2}' | grep ^r-) octave $(aptitude search texlive | grep -v ^i | awk '{print $2}') untex luatex latex-xft-fonts perl fontforge context-nonfree context-doc-nonfree dvipng imagemagick graphviz gnuplot-x11 gnuplot-doc gnuplot libatlas3gf-base sun-java6-bin sun-java6-jdk sun-java6-jre sun-javadb-client sun-javadb-common sun-javadb-core axel kdevelop kate kile kile-i18n-ca vim-gtk vim vim-addon-manager vim-common vim-doc vim-latexsuite latex2html latex-beamer xpdf writer2latex jabref bibutils hevea hevea-doc wordnet cups-pdf djvulibre-bin djvulibre-plugin pdfedit inkscape scribus pdf2djvu pdf2svg python2.5 ipython python3-dev python3-all vim-python python2.5-dev python-scipy unrar tofrodos galeon epiphany-browser epiphany-extensions scribes gnochm lyx claws-mail claws-mail-i18n claws-mail-doc claws-mail-tools libqt4-core libqt4-gui flashplugin-nonfree gstreamer0.10-ffmpeg gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverserar ubuntu-restricted-extras regionset soundconverter gxine libxine1-ffmpeg ia32-libs libstdc++5 libmms0
I installed the 64bit version of ubuntu. If you use the 386 version you don't need ia32-libs which allows you to run 32bit applications in the 64bit platform. libqt4-core and libqt4-gui are for skype, libstdc++5 is for RealPlayer, libmms0 for windows media player codec.
For playing movies and other media content, for example DVDs, you need libraries gstreamer0.10-ffmpeg gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverserar ubuntu-restricted-extras regionset gxine libxine1-ffmpeg (included above). See also this howto. In order to read encrypted DVDs you also need to execute a script that installs another library, which is not included in ubuntu for legal reasons:
sudo /usr/share/doc/libdvdread3/install-css.sh
Note that for installing some of the GNU R libraries via install.packages you need to have installed the development files for R (in ubuntu this is the r-base-dev package. I just install every R package that is not yet installed).
For acrobat reader download the package at http://www.adobe.com/products/
For skype download the package at skype.com and if you run your system with 64bits use the --force-architecture switch with dpkg.
Opera is one of the fastest web browsers. You can download it here.
What I find annoying in firefox are (among other things) that you have to open an extra window to access downloads. The Download Statusbar integrates them into the main window. spellchecker addons can be quite useful when you are writing mails.
For having the shortkeys alt-shift-up for changing windows in gnome (similar to MacOS expose) I put in preferences -> appearance -> visual effects: "normal." (you need to have compiz enabled for that)
In order not to get vexed by daily updates I change periodicity in synaptic (configuration -> repositories -> actualizations: once a week).
That's it. For still more you might want to see the UbuntuScience community page.
In next posts I will introduce smart bookmarks for faster web searches, explain how to synchronize web browser bookmarks on different work stations, personalize the vim editor, set up a revision control repository, and automatically synchronize data.
Enjoy. Please leave a comment below for questions and suggestions.
[ Read more... ]




Vim is a fast and feature-rich text editor. It offers syntax highlighting for many programming and scripting languages, editing by regular expressions, and a lot more. In this post I give first a short introduction to vim then I show how to enable some of its powerful features by default on start of vim. 