How to install NVIDIA CUDA on Debian 10

CUDA® is a parallel computing platform and programming model developed by NVIDIA for general computing on graphical processing units (GPUs). With CUDA, developers are able to dramatically speed up computing applications by harnessing the power of GPUs.

We will install NVIDIA CUDA on a Debian 10 server. Run the following commands as user root. If you are logged in with sudo user, you can run the command “sudo su” to become user root.

Add NVIDIA repository

Enable the contrib repository

Update the apt cache

Install cuda

To find Nvidia driver version, you can run the command cat /proc/driver/nvidia/version

cuda installed in folder /usr/local/cuda-11.4/bin/, to find version, run

Add the folder to PATH, edit the file

Add following

Save and exit the file. Reload .bashrc with

You can find more info on NVIDIA driver with the command

NVIDIA CUDA command line

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published.