Setting up Ubuntu

Getting started on Ubuntu

http://lifeofaprogrammergeek.blogspot.com/2008/05/cuda-development-in-ubuntu.html

If there are missing libraries, try:

sudo apt-get install libc6-dev-i386 build-essential libglut3-dev gcc-4.1 g++-4.1 -y

and if there are build errors:

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.1 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.1

or maybe try: http://forums.nvidia.com/index.php?showtopic=81840

Eclipse

http://lifeofaprogrammergeek.blogspot.com/2008/07/using-eclipse-for-cuda-development.html