【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>
NVIDIA DRIVER
sudo apt-get update
sudo apt-get install git cmake build-essential vim
sudo vim /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
options nouveau modeset=0
sudo update-initramfs -u
sudo reboot
Ctrl+Alt+F3 tty3
sudo chmod a+x NVIDIA-Linux-x86_64-440.44.run
sudo ./NVIDIA-Linux-x86_64-440.44.run --no-opengl-files
sudo vim ~/.bashrc
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
nvidia-smi
CUDA
sudo shcuda_10.2.89_440.33.01_linux.run --no-opengl-libs
accept
[ ] DRIVER
[X] CUDA Toolkit
[X]SAMPLES
[X]*SUIT*
[X]DOCUMENTATION
option
install
cd
sudo vim .bashrc
export PATH=/usr/local/cuda-10.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
cd
source .bashrc
cuDNN
sudo dpkg -i libcudnn7_7.6.5.32-1+cuda10.2_amd64.deb
来源:oschina
链接:https://my.oschina.net/frank1126/blog/3151050