1 min read 73 words Updated Sep 24, 2026 Created Sep 24, 2026
#AI#OS#ml

nvcc should be available

nvidia-smican display the installed version of CUDA too

If CUDA works for e. g. PyTorch, see here: PyTorch with CUDA

Upgrading

with installing the appriopriate version flag one might need to point to the upgraded CUDA version for nvcc --version to show the desired one:

export CUDA_HOME=/usr/local/cuda-13.0
export PATH=$CUDA_HOME/bin:$PATH
export LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH

Then, source the bash file

Finding your CUDA installations: ls -l /usr/local | grep cuda