I downloaded the runfile (local) for ubuntu 20.04 from Nvidia Developer site as shown Nvida Local runfile
Image may be NSFW.
Clik here to view.
Then followed the instructions to run the program:
sudo sh cuda_11.3.0_465.19.01_linux.run
The installation failed: here is the error in /var/log/cuda-installer.log :
[INFO]: Driver installation detected by command: apt list --installed | grep -e nvidia-driver-[0-9][0-9][0-9] -e nvidia-[0-9][0-9][0-9][INFO]: Cleaning up window[INFO]: Complete[INFO]: Checking compiler version...[INFO]: gcc location: /usr/bin/gcc[INFO]: gcc version: gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)[INFO]: Initializing menu[INFO]: Setup complete[INFO]: Components to install:[INFO]: Driver[INFO]: 465.19.01[INFO]: Executing NVIDIA-Linux-x86_64-465.19.01.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 465.19.01 failed, quitting
There are no further indications of what failed or instructions of what to do. What can/should be done next to move forward?