I installed CUDA 9.1 using debian with
sudo apt-get install cuda
I verify the installation using ./deviceQuery and it tells me PASS.
But later when I try
It tells me nvcc is not installed yet, and suggest me using sudo apt-get install nvidia-cuda-toolkit.
How to solve this? I saw someone said I should add PATH, but not clear where and what exactly to add.
Thank you for your time.