Installing
-
3. Installing Kernel Headers
Next Install Debian’s Kernel Headers.
sudo apt install linux-headers-$(uname -r)
If Got “User is Not in Sudoers file” then see: How to Enable sudo
-
4. Setting Up Repo
See How Setup CUDA Debian Repository
-
5. Installing CUDA
Finally, Install CUDA Toolkit in Debian
Simply play:sudo apt -y cuda
Last, Reboot with:
sudo reboot
(You should be already aware of the NVIDIA Driver Setup Requirement.)
-
6. Setting Up Path
Again Setup PATH Env Variable.
This is necessary to Find the Binaries on System:echo 'export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}' > $HOME/.bashrc
Possibly Amend the Unstable.0 with the Actual Version…
And finally, Reload Configuration simply with:bash
Contents