How to Install NVIDIA Cuda without EULA/prompts?

Solution 1:

According to the installer's built-in help text, you should be able to do that by adding the command-line option -silent:

$ ./cuda_6.5.14_linux_64.run --help
Options:
   -help                      : Print help message
   -driver                    : Install NVIDIA Display Driver
   -uninstall                 : Uninstall NVIDIA Display Driver
   -toolkit                   : Install CUDA 6.5 Toolkit (default: /usr/local/cuda-6.5)
   -toolkitpath=        : Specify a custom path for CUDA location
   -samples                   : Install CUDA 6.5 Samples (default: /usr/local/cuda-6.5/samples)
   -samplespath=        : Specify a custom path for Samples location
   -silent                    : Run in silent mode. Implies acceptance of the EULA
   -verbose                   : Run in verbose mode
   -extract=            : Extract individual installers from the .run file to PATH
   -no-opengl-libs            : Install driver support for Optimus
   -override                  : Overrides the installation checks (compiler, lib, etc)
   -kernel-source-path= : Points to a non-default kernel source location
   -tmpdir              : Use  as temporary directory - useful when /tmp is noexec