Solved: nvcc not found after CUDA 9.1 installed

Hi there,

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

nvcc --version

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.


I forget the Post-Installation step. It is all doc in the guide.