I have struggled getting Cuda, NVCC, and the cuda-samples project running on my computer, so I am writing this to help others. Installing NVIDIA drivers As someone that uses the professional CUDA blackwell cards, I am required to use the NVIDIA open kernel module. It works for both gaming and professional cards. I would advise you to use it as the closed source kernel module will eventually be deprecated. sudo dnf install rpmfusion-nonfree-release # make sure rpmfusion non-free is enabled sud...