Ubuntu – Nvcc: Command not find after installed nvidia-cuda-dev on ubuntu 16.04

16.04cudanvidia

I installed nvidia-cuda-dev on ubuntu 16.04 using sudo apt-get install. But when I try to install caffe, it says make: /usr/lib/bin/nvcc: Command not found. I guess maybe the nvcc location is wrong. But I can't find nvcc using sudo find / -name "nvcc"

Best Answer

nvcc is in the package nvidia-cuda-toolkit (see this package search).