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

Design Theory: Hierarchy in Design

<br />Original text: http://andymao.com/andy...

How to enable MySQL remote connection

For security reasons, MySql-Server only allows th...

Zabbix monitors the process of Linux system services

Zabbix automatically discovers rules to monitor s...

Do you know how to use vue-cropper to crop pictures in vue?

Table of contents 1. Installation: 2. Use: 3. Bui...

Two methods of restoring MySQL data

1. Introduction Some time ago, there were a serie...

Use pure CSS to achieve switch effect

First is the idea We use the <input type="...

Solutions to black screen when installing Ubuntu (3 types)

My computer graphics card is Nvidia graphics card...

Design theory: people-oriented green design

Reflections on the two viewpoints of “people-orie...

CSS3 overflow property explained

1. Overflow Overflow is overflow (container). Whe...

Detailed example of using the distinct method in MySQL

A distinct Meaning: distinct is used to query the...

Detailed explanation of routes configuration of Vue-Router

Table of contents introduce Object attributes in ...

How to implement Linux automatic shutdown when the battery is low

Preface The electricity in my residence has been ...

HTML displays ellipsis beyond the text... implemented through text-overflow

You need to apply CSS to div or span at the same t...

Javascript destructuring assignment details

Table of contents 1. Array deconstruction 2. Obje...

Steps to build MHA architecture deployment in MySQL

Table of contents MAH 1. Introduction to MAH Arch...