sudo bash nv_driver_cuda_deb.sh
or
sudo bash nv_driver_cuda_rpm.sh
[1] Install NVIDIA GPU driver, NVIDIA CUDA toolkit, docker, and nvidia-container-toolkit
[2] Install NVIDIA GPU driver and NVIDIA CUDA toolkit
[3] Install NVIDIA GPU driver
[4] Uninstall NVIDIA GPU driver
[E] Exit
Your choice:
- To add CUDA path to user's environment variables, please do (BASH example):
- Open Terminal
- echo 'export PATH=${PATH}:/usr/local/cuda/bin/' >> $HOME/.bashrc
- source $HOME/.bashrc
- On Fedora 40/41 we're using Fedora 39 CUDA repo (12.6) since NVIDIA is still working on Fedora 41 CUDA repo (12.8)