1

I want to install CUDA on Ubuntu 20.04 and I used these commands to install CUDA (11.1.0) :

wget https://developer.download.nvidia.com/compute/cuda/11.1.0/local_installers/cuda_11.1.0_455.23.05_linux.run

sudo sh cuda_11.1.0_455.23.05_linux.run

But after downloading to install it, it gives this error.

Error:

Installation failed. See log at /var/log/cuda-installer.log for details.

I try this command: /var/log/nvidia-installer.log

Result:

bash: /var/log/nvidia-installer.log: Permission denied

and this command is :

cat /var/log/cuda-installer.log

Result:

[INFO]: Driver not installed.
[INFO]: Checking compiler version...
[INFO]: gcc location: /usr/bin/gcc

[INFO]: gcc version: gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)

[INFO]: Initializing menu [INFO]: Setup complete [INFO]: Initializing writeable menu [INFO]: Components to install: [INFO]: Driver [INFO]: 455.23.05 [INFO]: Executing NVIDIA-Linux-x86_64-455.23.05.run --ui=none --no-questions --accept-license --disable-nouveau --no-cc-version-check --install-libglvnd 2>&1 [INFO]: Finished with code: 256 [ERROR]: Install of driver component failed. [ERROR]: Install of 455.23.05 failed, quitting

Please help me.

Sajadi
  • 113
  • 1
  • 7

0 Answers0