Step-by-step – CUDA 11 Installation in MX Linux 19

December 16, 2020 | By the+gnu+linux+evangelist.

Installing

  1. 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…

  2. 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.

  3. 4. Setting Up Backports

    How to Install Backports Repository on Debian GNU/Linux

    Backports Debian Buster Setup Guide

    Follow instructions to Enable the ‘contrib‘ and ‘non-free‘ Sources.

  4. 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


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress