Step-by-step – CUDA Ubuntu 21.04 Installation

April 8, 2021 | By the+gnu+linux+evangelist.

GNU/Linux Ubuntu 21.04 Installing CUDA Toolkit Guide

Hi! The Tutorial shows you Step-by-Step How to Install latest NVIDIA CUDA Toolkit for Ubuntu 21.04 Hirsute 64-bit GNU/Linux Desktops.

And the Ubuntu 21.04 CUDA Install 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 for Ubuntu 21.04 Hirsute 64-bit - Featured
  1. 1. Launching Terminal

    Open a Terminal Shell emulator window
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands).

    How to Install CUDA for Ubuntu 21.04 Hirsute 64-bit - Open Terminal Shell Emulator
  2. Then Verify on CUDA Capable GPU
    With:

    lspci | grep -i nvidia
    But if you do Not see any NVIDIA hardware on Output then first install:
    sudo update-pciids
    And try Again the former Command…
  3. 2. Installing Kernel Headers

    Next Install Ubuntu’s Kernel Headers
    Simply play:

    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.


QuickChic Theme • Powered by WordPress