
comment:
vim string that replaces 5 capital-letters with following bracket with same string uncapital
%s/[A-Z]\{5}(/\L&/g

cd ~

sudo apt-get update
sudo apt-get install gsl-bin libgsl0-dev fftw3-dev r-base-core f2c  libblas3gf #liblapack3gf libgfortran3

for ubuntu8.04:
apt-get install gsl-bin libgsl0-dev fftw3-dev r-base-core f2c  libblas3gf liblapack3gf libgfortran2 lapack3 lapack3-dev 

#then install root in folder:
sudo apt-get install root-system-bin




#download flens.sourceforge.org
#and follow installation instruction but
sudo apt-get install liblapack-pic libblas-devlibatlas-base-dev libatlas-base-dev
export CVSROOT=:pserver:anonymous@flens.cvs.sourceforge.net:/cvsroot/flens
export CVS_RSH=ssh
cvs login
cvs -z3 co -P FLENS-lite
cp config.ubuntu config
#add prefix config file:
PREFIX = /usr/
  CXX         = g++
  CXXFLAGS   += -Wall -g -O3 -fPIC
  INCDIRS    += -I.
  DYLIB_EXT   = so
  CXXDYLIB    = -shared
  LDFLAGS    += -llapack -latlas -lblas


#install eclipse galileo:
wget "http://download.eclipse.org/technology/epp/downloads/release/galileo/R/eclipse-cpp-galileo-linux-gtk.tar.gz"
tar -xvzf eclipse-cpp-galileo-linux-gtk.tar.gz
sudo mv eclipse /opt/
sudo ln -fs /opt/eclipse/eclipse /usr/bin/eclipse#if you get errors: collect2: cannot find 'ld' then:
__________________________________
 Installing and setting up Eclipse with Sun's Java
This howto explains how to install Eclipse and Sun's Java on Ubuntu 8.04 (Hardy Heron), and how to make Eclipse actually use Sun's Java solving the "Eclipse is horribly slow" problem caused by bug 45347.

The entire install process consists simply of installing the following 2 meta packages: eclipse and sun-java6-jdk. Note, you can optionally choose to use the openjdk-6-jdk package instead of Sun's package, which is the open-source jdk for ubuntu.
Code:

sudo apt-get install eclipse sun-java6-jdk

This will install the required packages, however, Eclipse will run very slowly since it will be using GNU's java, not Sun's (or optionally openjdk). To make Sun's java the default on the system, use the update-java-alternatives command:

Code:

 sudo update-java-alternatives -s java-6-sun

Next, edit the JVM configuration file
Code:

sudo -b gedit /etc/jvm

and add the following to the top of the file
Code:

/usr/lib/jvm/java-6-sun

There is a bug right now were Eclipse ignores Ubuntu's java-common settings and uses its own (bug 45347). To work around the bug, you need to edit Eclipse's java_home file
Code:

sudo -b gedit /etc/eclipse/java_home

and add
Code:

/usr/lib/jvm/java-6-sun

to the top of the file.

Lastly, if you have lots of memory you may want to increase the heap size (warning: If you make the heap size too large then parts of eclipse will continuously swap in and out.).
The settings can be altered by editing the eclipse.ini file.
Code:

sudo -b gedit /usr/lib/eclipse/eclipse.ini

The argument Xms refers to the minimum heap size and Xmx refers to the maximum heap size.
For more on tuning the Eclipse JVM heap size, you can refer to this IBM article.

VMARGS=""

Changed it to this
VMARGS="-Xms100m -Xmx256m"



______________________________________
-------------------------------------------------------------------
Nicht installierte Pakete
libgsl0-dev - fürt zu einem Compilerfehler da nicht mit -fPIC kompilliert.

Unnötig:
http://cran.r-project.org/src/contrib/rgl_0.77.tar.gz

sudo mkdir /opt/root
wget ftp://root.cern.ch/root/root_v5.24.00.Linux-slc5-gcc4.3.tar.gz
tar -xvzf root_v5.24.00.Linux-slc5-gcc4.3.tar.g
sudo mv root /opt
edit .bashrc:
PATH=$PATH:/path_to_where_java_is/bin
export PATH


because of link and include paths in project

/opt/root/include ...

