I am trying to install cuda on my ubuntu machine. I followed instructions from https://developer.nvidia.com/cuda-downloads to install the base installer for the cuda toolkit, which installs the cuda-toolkit-12-6 package. However when I try to check the cuda compiler version with nvcc --version it says "Command 'nvcc' not found, but can be installed with: sudo apt install nvidia-cuda-toolkit"
What am I missing here and what is the difference between these packages?
My main goal is to have cuda setup on ubuntu, I think I'm close but I'm fairly new at configuring packages like this.
cuda-toolkitpackage refers to "whatever is the latest available cuda toolkit". Thecuda-toolkit-12-6package refers to "cuda toolkit 12.6, even if there is a newer version available".