I regularly install
CUDA (a GPU programming API) on machines in my work cluster, and have to reupgrade three
*.run installers whenever I do an upgrade version-wise.
The installers are semi-predictably named (though NVIDIA sometimes changes up the naming scheme) so I've created a script that switches to the root user, takes the run level down to
3 to turn off any running X server instances, calls the most RECENT version in my installers directory with sh
ls -t base_<name>*.run|head -n 1
and then finally switches the run level back to
Now this is nice as it reduces intervention, but what I really would love to do is automatically input the enter/arrow sequences to the *.run autonomously from the script, as they're the exact same every time. Is there a good way to do this for
*.run files?? You don't have to give me a full answer even, just pointing me towards a good tutorial would be educational.
Also, on the odd chance someone with
CUDA experience sees this, any idea if there's a repository that I can get the latest dev drivers; gpu tools installer (nvcc, etc.); and gpu SDK from? (these are my three *.run installers) I can go in my browser and download all of these, but a command line scriptable way would be super nice as then I'd cut out one more step! :)