How-to Install CUDA Library for Ubuntu 16.04 Xenial 64bit Linux Easy Guide

February 17th, 2017 by thelinuxevangelist

Ubuntu CUDA Library Installation

Hello Ubuntu User! This Tutorial Shows You Step-by-Step How-to Install the NVIDIA CUDA Library for Ubuntu 16.04 Xenial 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 Accellerating 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 Ubuntu 16.04 Xenial LTS - Featured
  1. Open a Terminal Shell emulator window
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

     - Open Terminal Shell Emulator
  2. Download Latest CUDA Ubuntu Repo Package

    Get Ubuntu CUDA 64bit Repo

  3. Access the Target location
    (Usually Downloads go in the Home folder or the Temporary directory /tmp)

    cd ~/Downloads

    Or when downloaded with Firefox maybe:

    cd /tmp/mozilla*

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

    ls .
  4. Enabling Ubuntu CUDA Repo

    sudo dpkg -i cuda-repo-ubuntu*amd64.deb
    sudo apt update

  5. CUDA Library Installation

    sudo apt -y install cuda

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