I downloaded the runfile[local]-file and installed CUDA Toolkit 9.1 (Ubuntu 16.04), started:
$ sudo sh cuda_9.1.85_387.26_linux.run
and here is my terminal response, all questions -> “yes”, all locations -> default (command-line prompts):
Installing the NVIDIA display driver…
Installing the CUDA Toolkit in /usr/local/cuda-9.1 …
Missing recommended library: libGLU.so
Missing recommended library: libX11.so
Missing recommended library: libXi.so
Missing recommended library: libXmu.so
Installing the CUDA Samples in /home/username …
Copying samples to /home/username/NVIDIA_CUDA-9.1_Samples now…
Finished copying samples.
= Summary =
Toolkit: Installed in /usr/local/cuda-9.1
Samples: Installed in /home/username, but missing recommended libraries
Please make sure that
- PATH includes /usr/local/cuda-9.1/bin
- LD_LIBRARY_PATH includes /usr/local/cuda-9.1/lib64, or, add /usr/local/cuda-9.1/lib64 to /etc/ld.so.conf and run ldconfig as root
To uninstall the CUDA Toolkit, run the uninstall script in /usr/local/cuda-9.1/bin
To uninstall the NVIDIA Driver, run nvidia-uninstall
Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-9.1/doc/pdf for detailed information on setting up CUDA.
Logfile is /tmp/cuda_install_11273.log
How can I fix the missing libraries and what can I do about this PATH / LD_LIBRARY_PATH including issue?