Question: how to check if cuda installed?
Answer: Verify driver version by looking at: /proc/driver/nvidia/version : ... 
Verify the CUDA Toolkit version. ... 
Verify running CUDA GPU jobs by compiling the samples and executing the deviceQuery or bandwidthTest programs.