How to setup CUDA on Debian 12 Bookworm in less than one Minute
Published at Oct 6, 2023
TL;DR
Sometimes we just need a GPU. So how do we use CUDA on plain Debian? This article walks you through the setup in lesqs than a minute.
To our etc/apt/sources.list
we need to add to our entries
contrib non-free
Then we run
sudo apt update
sudo apt install -y nvidia-cuda-toolkit nvidia-cuda-dev
Test
nvidia-smi
That’s it.
Let me know if you find that article useful. ⛵️