ubuntu 14.04 双显电脑 安装 cuda7.5
1. download .run file
enter the web page: http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_7.5.18_linux.run
save file cuda_7.5.18_linux.run
2. shut down X server
first, log out
second, CTRL + ALT + F1 enter Command line and login useing your name and passwd
third, kill X server by command: sudo server lightdm stop
then, sudo init 3 and sudo sh cuda_7.5.18_linux.run
Note when installing cuda_7.5.18, do not install openGL
3. SetPath
(1). set Path
sudo nano /etc/environment
appending: :/usr/local/cuda-7.5/bin
into PATH
(2) set LD_LIBRARY_PATH
nano ~/.bashrc
appending : export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/usr/local/cuda-7.5/lib64