Ubuntu installation cuda10.1 driver implementation steps

Ubuntu installation cuda10.1 driver implementation steps

1. Download cuda10.1:

NVIDIA official website link: https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=runfilelocal

2. Install 10.1:

[Note]: cuda8.0, cuda9.0, and cuda10 all integrate the NVIDIA graphics driver. Depending on whether the graphics driver is installed at the same time as cuda, it can be divided into installation methods without driver and installation methods with driver.

Here we use the installation method without driver, because the latest NVIDIA graphics card driver has been successfully installed before;

Execute the following command

sudo sh cuda_10.1.168_418.67_linux.run

Enter accept

Select the installation option: Do not select a driver,

or:

Then hold down the Enter key with the corner of a book until the Terms of Service display reaches 100%. Then follow the steps below to select:

accept

n (Do not install the driver)

y

y

y

Setting CUDA environment variables

Enter sudo gedit ~/.bashrc to open the .bashrc file in the home directory and add the following path:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-10.1/lib64
export PATH=$PATH:/usr/local/cuda-10.1/bin
export CUDA_HOME=$CUDA_HOME:/usr/local/cuda-10.1

Run in terminal: source ~/.bashrc to make it effective;

Check if the installation was successful:

Enter nvcc --version. If the following text is displayed, it means the installation is successful:

Reference articles:

1. https://blog.csdn.net/wanzhen4330/article/details/81699769

This is the end of this article about the implementation steps of installing cuda10.1 driver on Ubuntu. For more information about installing cuda10.1 driver on Ubuntu, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Ubuntu installs multiple versions of CUDA and switches at any time
  • Implementation of installing and uninstalling CUDA and CUDNN in Ubuntu
  • Detailed tutorial on installing CUDA9.0 on Ubuntu16.04
  • Steps to install cuda10.1 on Ubuntu 20.04 (graphic tutorial)
  • Ubuntu 20.04 CUDA & cuDNN Installation Method (Graphical Tutorial)
  • Detailed tutorial on installing nvidia driver + CUDA + cuDNN in Ubuntu 16.04
  • How to install multiple versions of CUDA in ubuntu16.04
  • Installation of CUDA10.0 and problems in Ubuntu

<<:  Mariadb remote login configuration and problem solving

>>:  Introduction to the use of the four major sql ranking functions ROW_NUMBER, RANK, DENSE_RANK, NTILE

Recommend

Linux sudo vulnerability could lead to unauthorized privileged access

Exploiting a newly discovered sudo vulnerability ...

Pure JS method to export table to excel

html <div > <button type="button&qu...

Detailed tutorial on replacing mysql8.0.17 in windows10

This article shares the specific steps of replaci...

Detailed explanation of MySQL information_schema database

1. Overview The information_schema database is th...

Detailed tutorial for installing ffmpeg under Linux

1. Install ffmpeg under centos linux 1. Download ...

Font Treasure House 50 exquisite free English font resources Part 2

Designers have their own font library, which allo...

JavaScript implements draggable progress bar

This article shares the specific code of JavaScri...

Use of Vue filters and custom instructions

Table of contents Filters 01.What is 02. How to d...

Summary of various uses of JSON.stringify

Preface Anyone who has used json should know that...

Install redis and MySQL on CentOS

1|0MySQL (MariaDB) 1|11. Description MariaDB data...

A brief analysis of event bubbling and event capture in js

Table of contents 01-Event Bubbling 1.1- Introduc...

MySQL 8.0.20 installation and configuration tutorial under Win10

MySQL 8.0.20 installation and configuration super...