User Software :: CR-Tools :: Installing on Ubuntu 10.04 32 or 64bit
The following shows you how to install CR-Tools on Ubuntu 10.04 (Lucid Lynx) and Ubuntu 10.10 (Maverick Meerkat) in either 32 or 64 bit.
Prerequisites
The following Ubuntu packages need to be installed:
- g++
- gfortran
- subversion
- python-dev
- zlib1g-dev
- flex
- libatlas-base-dev
- liblapack-dev
- swig
- bison
- libncurses5-dev
- libfreetype6-dev
- libpng12-dev
- python-tk
- python-pyfits
- tk8.5-dev
- fftw3-dev
for this you can just use the package manager.
sudo apt-get install g++ gfortran flex swig bison subversion sudo apt-get install zlib1g-dev libatlas-base-dev liblapack-dev sudo apt-get install libncurses5-dev libfreetype6-dev libpng12-dev sudo apt-get install python-dev python-tk python-pyfits tk8.5-dev fftw3-dev
Installing CR-Tools
Now we are ready to install CR-Tools itself. First get the latest source code from the LOFAR USG Subversion repository.
svn co http://usg.lofar.org/svn/code/trunk lofarsoft
Then add the following line to your .bashrc or .bash_profile.
export LOFARSOFT=/path/to/lofarsoft . $LOFARSOFT/devel_common/scripts/init.sh
Now bootstrap the build system.
cd $LOFARSOFT/build ./bootstrap
And compile CR-Tools.
make cr
Grab a cup of coffee and if all is well, in about 30 minutes you should have your very own working installation of CR-Tools.