How to Install CUDA 10 for Lubuntu 18.04 Bionic 64-bit Step By Step

December 10, 2018 | By the+gnu+linux+evangelist.

Lubuntu 18.04 Bionic CUDA 10 Installation Guide

Hi! The Tutorial shows you Step-by-Step How to Install NVIDIA CUDA 10 Toolkit for Lubuntu 18.04 Bionic LTS Amd64 GNU/Linux Desktops.

And the Lubuntu 18.04 Bionic CUDA 10 Setup is a Parallel Computing Platform and Programming Model invented by NVIDIA.
It enables Dramatic Increases in Computing Performance by Harnessing the Power of the Graphics Processing Unit (GPU).

With CUDA Programming you can GPU Accelerating Apps by Incorporating C, C++ and Fortran Extensions of these Languages in the Form of a few Basic Keywords.

How to Install CUDA 10 for Lubuntu 18.04 Bionic 64-bit Step by Step - Featured
  1. Open a Shell Terminal emulator window
    Ctrl+Alt+t on desktop
    (Press “Enter” to Execute Commands)

    How to Install CUDA 10 for Lubuntu 18.04 Bionic 64-bit Step by Step - open terminal
  2. 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. Next Install Lubuntu’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. See How Setup CUDA Lubuntu Repo Package

    Lubuntu CUDA Repo Setup

    Choose the Lubuntu Xenial Release.

  5. Finally, Install CUDA Toolkit for Lubuntu
    To search for the Available releases:

    sudo apt search cuda-10

    Then for instance, to Install CUDA 10.1:

    sudo apt -y install cuda-10-1

    Or at this time simply:

    sudo apt -y install cuda
  6. 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 10.0 with the Actual Version…
    And Reload Configuration simply with:

    bash
  7. NVIDIA CUDA Programming Quick Start Guide

    CUDA Programming Quick Start
  8. So Now I’m truly Happy if My Guide could Help you to Install CUDA 10 for Lubuntu 18.04 Bionic!


QuickChic Theme • Powered by WordPress