Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

how to install cuda toolkit ubuntu

 Pre installation actions-

Some actions must be taken before the Cuda Toolkit and Driver can be installed on Linux:

 

To install the CUDA Toolkit on a Linux system, you can follow these steps:

  1. Go to the NVIDIA CUDA website (https://developer.nvidia.com/cuda-downloads) and download the appropriate CUDA Toolkit for your system.

  2. Open a terminal and navigate to the location where you downloaded the CUDA Toolkit.

  3. Run the following command to install the CUDA Toolkit:

     sudo sh cuda__linux.run

    1. Follow the prompts to complete the installation.

    2. After installation, you need to add the CUDA Toolkit to your system's PATH by adding the following line in your .bashrc file

       export PATH=/usr/local/cuda-/bin:$PATH


      6.Finally, run the following command to verify the installation:

       nvcc --version

      This should display the version of the CUDA Toolkit that you have installed.





This post first appeared on Vedic7, please read the originial post: here

Share the post

how to install cuda toolkit ubuntu

×

Subscribe to Vedic7

Get updates delivered right to your inbox!

Thank you for your subscription

×