-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cuda_10_1.txt
35 lines (22 loc) · 1 KB
/
Cuda_10_1.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Install Cuda first on your computer to avoid later incompatibilaty with other packages.
Go To:
https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1804&target_type=deblocal
Download: cuda-repo-ubuntu1804-10-1-local-10.1.105-418.39_1.0-1_amd64.deb
Follow the instructions given in the Nvidia website
After that reboot your PC
Once it turns on again, a blue screen will show up. you should choose:
install MOK
continue
yes
(It will configure Nvidia drivers)
After that go to bashrc file (vim ~/.bashrc) and add the following lines at the end:
export LD_LIBRARY_PATH=/usr/local/cuda/lib
export PATH=$PATH:/usr/local/cuda/bin
after that exit the terminal and open another one.
check if everything went well with
nvidia-smi
nvcc -V
You Welcome
Have a nice day :)
cuDNN: https://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html
tensorrt: https://docs.nvidia.com/deeplearning/sdk/tensorrt-install-guide/index.html#installing-tar