I tried to install the full CUDA 5.0 package but I got the following error:
Driver: Not Selected Toolkit: Not Selected Samples: Installation Failed. Missing
I'm on Ubuntu 12.04, I fixed it by the following:
sudo ln -s /usr/lib/x86_64-linux-gnu/libglut.so /usr/lib/libglut.so
So the problem was ubuntu are installing libglut library in a different path for x64 architectures, so it can be fixed making a symbolic link to /usr/lib/.