Installing
-
2. Pre-Installation Testing
Then Verify on CUDA Capable GPU.
lspci | grep -i nvidia
But if you do Not see any NVIDIA hardware on Output then first install:
sudo update-pciids
Then try Again…
-
3. Installing Kernel Headers
Next Install MX’s Kernel Headers
First, update your System with:sudo apt upgrade
And then run:
sudo apt install linux-headers-$(uname -r)
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo. -
4. Setting Up Backports
How to Install Backports Repository on Debian GNU/Linux
Follow instructions to Enable the ‘contrib‘ and ‘non-free‘ Sources.
-
5. Installing CUDA 11
Finally, Install CUDA 11 Toolkit in MX Linux 19
Currently, simply play:sudo apt install -t buster-backports nvidia-cuda-toolkit
Again to search for others related Packages use:
sudo apt search nvidia-cuda
Contents