Is there a way to install cudatoolkit non-interactively on Linux, e.g.,
./cudatoolkit_4.0.17_linux_32_rhel5.5.run
…
Enter install path (default /usr/local/cuda, ‘/cuda’ will be appended): << #can I specify answer and pass to the script via parameters?
something like
echo “/usr/local/cuda” |./cudatoolkit_4.0.17_linux_32_rhel5.5.run
which does not work though.
Generic solution for other NVIDIA software, e.g., driver, SDK?
Without having tried it:
[font=“Courier New”] echo “/usr/local\n” | ./cudatoolkit_4.0.17_linux_32_rhel5.5.run[/font]
or, to choose the default answer for any question:
[font=“Courier New”] yes ‘’ | ./cudatoolkit_4.0.17_linux_32_rhel5.5.run[/font]
Or access the contents of the archive directly using the [font=“Courier New”]–tar[/font] option.