Installing
-
5. Installing CUDA 11
Finally, Install CUDA 11 Toolkit in Ubuntu 22.04
To search for the Available releases:sudo apt search cuda | grep 11
So for instance, to install the complete CUDA 11.8 Release play:
sudo apt install cuda-11-8
Where for the CUDA 11.8 Driver only:
sudo apt install cuda-toolkit-11-8
Finally, instead to Install the available CUDA 11 from the Apt Repo:
sudo apt install nvidia-cuda-toolkit
-
6. Setting Up Path
Again Setup PATH Env Variable.
This is necessary to Find the Binaries on System:echo 'export PATH=/usr/local/cuda-11.8/bin${PATH:+:${PATH}}' >> $HOME/.bashrc
Possibly Amend the 11.8 with the Actual Version…
And Reload Configuration simply with:bash
-
7. CUDA Getting Started
NVIDIA CUDA Programming Quick Start Guide
So Now I’m truly Happy if My Guide could Help you to Install CUDA for Ubuntu 22.04!
Contents