How to Install CUDA Linux Mint 18.2 Sonya 64-bit Easy Guide

February 6, 2018 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Linux Mint 18.2 CUDA Toolkit Installation Guide

Hello Mint User! The Tutorial Shows You Step-by-Step How to Install the NVIDIA CUDA Library for Mint 18.2 Sonya LTS amd64 GNU/Linux Desktops.

CUDA 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 Nvidia CUDA Library on Mint 18.2 Sonya LTS - Featured
  1. Open a Shell Terminal emulator window
    (Press “Enter” to Execute Commands)

    How to Install Nvidia CUDA Library on Mint 18.2 Sonya LTS - 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 Ubuntu’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 Mint Repo Package

    CUDA Repository Setup
  5. Access the Target location
    (Usually Downloads go in the Home folder or when Downloaded with Firefox may be into the Temporary directory /tmp/mozilla*)

    cd ~/Downloads

    Or when downloaded with Firefox maybe:

    cd /tmp/mozilla*

    To Verify that it’s there List the contents with:

    ls .
  6. Enabling Mint CUDA Repo

    sudo dpkg -i cuda-repo-ubuntu*amd64.deb
    sudo apt update
  7. CUDA Library Installation

    sudo apt -y install cuda

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

QuickChic Theme • Powered by WordPress