Reinstalling in Ubuntu 12.04

I was having problems with black spots on my monitor due to problems with (it turns out) an Intel driver that didn’t properly support Ubuntu 12.04. I’ve gotten the display issues sorted out, but now my installed cuda programs no longer detect the installed Nvidia card, so I need to reinstall the drivers and/or Cuda developer tools.

I’m trying to install cuda version 5.5 and I’m a bit confused by this language in the getting started guide:
sudo dpkg -i cuda-repo-<distro>_<version>_<architecture>.deb sudo apt-get update
$ sudo apt-get install cuda

What should I put in place of distro, version and architecture for Ubuntu 12.04.3 on a 64 bit Intel machine? I’m not sure how to get the syntax correct.

Thanks, Mike

For 12.04 install bumblebee (in the process will install the nidia driver) and run cuda programs as a gpu program with optirun ./cudaprogram