How to Install CUDA 10 in Kubuntu 18.04 Bionic 64-bit Step by Step

December 10, 2018 | By thelinuxevangelist | Filed in: Tutorial.

Kubuntu 18.04 Bionic CUDA 10 Installation Guide

You are Welcome! The Tutorial Shows You Step-by-Step How to Install the NVIDIA CUDA 10 Toolkit for Kubuntu 18.04 Bionic LTS Amd64 GNU/Linux Desktops.

And the Kubuntu 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 Kubuntu 18.04 Bionic 64-bit Step by Step - Featured
  1. Open a Shell Terminal emulator window
    (Press “Enter” to Execute Commands)

    How to Install CUDA 10 for Kubuntu 18.04 Bionic 64-bit Step by Step - open terminal
  2. Then Verify on CUDA Capable GPU

    lspci | grep -i nvidia

    If do Not see any output Update PCI hardware Db with:

    sudo update-pciids

    Then try Again…

  3. Next Install Kubuntu’s Kernel Headers

    sudo apt install linux-headers-$(uname -r)

    If Got “User is Not in Sudoers file” then Look: Solution

  4. See How Setup CUDA Kubuntu Repo Package

    CUDA Repo Setup

    Choose the Kubuntu Xenial Release.

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

    apt search cuda-10

    Then for instance, to Install CUDA 10.1:

    sudo apt -y install cuda-10-0

    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

    Eventually 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 Kubuntu 18.04 Bionic!


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