I can't install CUDA 8 Toolkit on Ubuntu 14.04. I get this error:
-
$ sudo ./cuda_8.0.44_linux.run
------------------------------------------------------------
Do you accept the previously read EULA?
accept/decline/quit:
Do you accept the previously read EULA?
accept/decline/quit: accept
Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 367.48?
(y)es/(n)o/(q)uit: yes
Do you want to install the OpenGL libraries?
(y)es/(n)o/(q)uit [ default is yes ]: yes
Do you want to run nvidia-xconfig?
This will update the system X configuration file so that the NVIDIA X driver
is used. The pre-existing X configuration file will be backed up.
This option should not be used on systems that require a custom
X configuration, such as systems with multiple GPU vendors.
(y)es/(n)o/(q)uit [ default is no ]: y
Install the CUDA 8.0 Toolkit?
(y)es/(n)o/(q)uit: y
Enter Toolkit Location
[ default is /usr/local/cuda-8.0 ]:
Do you want to install a symbolic link at /usr/local/cuda?
(y)es/(n)o/(q)uit: y
Install the CUDA 8.0 Samples?
(y)es/(n)o/(q)uit: y
Enter CUDA Samples Location
[ default is /home/mona ]:
Installing the NVIDIA display driver...
It appears that an X server is running. Please exit X before installation. If you're sure that X is not running, but are getting this error, please delete any X lock files in /tmp.
===========
= Summary =
===========
Driver: Installation Failed
Toolkit: Installation skipped
Samples: Installation skipped
Logfile is /tmp/cuda_install_1976.log
Thsi are the log files: http://pastebin.com/KLAZ4b5g and http://pastebin.com/wRJq8t51 I also had installed this Nvidia driver for Tesla K40c GPU prior to installing the CUDA 8 Toolkit.
NVIDIA-Linux-x86_64-361.93.02.run
Any guidance as what to fix?
apt-get. Never any other way, unless you know exactly what you're doing. – Android Dev Sep 30 '16 at 1:00apt-get. – Android Dev Sep 30 '16 at 1:06