NVIDIA CUDA Logo

This is guide, howto upgrade manually installed NVIDIA CUDA Toolkit to latest 13.1.0 on Fedora 43/42/41. I assume here that you have installed NVIDIA CUDA successfully using my Install NVIDIA CUDA Toolkit on Fedora Guide. Make sure you are using NVIDIA 595.58.03 (or newer 595.xx) drivers. As always remember backup important files before doing anything!

Check video version of guide, howto Upgrade NVIDIA CUDA on Fedora:

Support inttf:

Buy Me a Coffee:

3. Upgrade NVIDIA CUDA Toolkit to latest 13.1.0 version on Fedora 43/42/41

3.1 Check Current NVIDIA CUDA version

Versioning on real installation is a bit diffent than installer file endings.

grep -A1 "CUDA SDK" /usr/local/cuda/version.json

nvcc -V

3.2 Download NVIDIA CUDA Toolkit 13.1.0

Download NVIDIA CUDA Toolkit 13.1.0 runfile (local) from official NVIDIA CUDA Toolkit download page.

cd ~/Downloads

wget https://developer.download.nvidia.com/compute/cuda/13.1.0/local_installers/cuda_13.1.0_590.44.01_linux.run

3.3 Make NVIDIA CUDA installer executable

chmod +x cuda_13.1.0*.run

3.4 Change root user

su -
## OR ##
sudo -i

3.5 Run NVIDIA CUDA Binary and Install NVIDIA CUDA 13.1.0

Fedora 43/42/41

/home/<username>/Downloads/cuda_13.1.0_590.44.01_linux.run

## OR full path / full file name ##

./cuda_13.1.0_590.44.01_linux.run

/path/to/cuda_13.1.0_590.44.01_linux.run

Accept NVIDIA CUDA 13.1.0 License Agreement

01-NVIDIA-CUDA-license-agreement

Install/Upgrade NVIDIA CUDA, but uncheck NVIDIA Drivers

You can move here using arrows (Up/Down: Move, Left/Right: Expand, Enter/Space: Select and ‘A’: for Advanced Options)

02-NVIDIA-CUDA-do-not-install-NVIDIA-drivers

Upgrade all components

03-nvidia-cuda-upgrade-installer-upgrade-all

3.6 Update CUDA Samples from NVIDIA git repo

NVIDIA git repo

Run following as normal user. I assume here you have already cloned cuda-samples git repo.

cd ~/cuda-samples

git pull

3.7 Support inttf

Buy Me a Coffee:

Thats all!

Please let me know if you have any problems!