Install nvcc without root

1 · Alexander Chebykin · Aug. 25, 2023, 8:44 p.m.
I needed to install nvcc on our group server, where I lack root privileges. I found a nice guide, in this post I will slightly expand on it by explicitly mentioning every step I had to take. Hopefully this will make life easier for future-me and for my colleagues :) Download a runfile for your OS: wget https://developer.download.nvidia.com/compute/cuda/11.7.0/local_installers/cuda_11.7.0_515.43.04_linux.run On our servers there is not enough space in /tmp for the next step, so: export TMPDIR='/...