Getting CUDA toolkit installed on Void Linux This article provides instructions for installing the CUDA toolkit on Void Linux, detailing the use of a silent installation command with specific flags like `--override` and `--no-opengl-libs`. The author notes that a custom `--tmpdir` path was necessary to avoid errors from insufficient space in the default temporary directory. The post also includes steps to set the required `PATH` and `LD_LIBRARY_PATH` environment variables for the installed CUDA version. This is a short post mainly for myself to remember how I got CUDA installed on Void Linux. These steps are as follows: chmod +x ./cuda version.run 1sudo ./cuda 11.8.0 520.61.05 linux.run --silent --override --toolkit --no-opengl-libs --tmpdir=/home/aselimov/down/tmp 1export PATH="$PATH:/usr/local/cuda-version/bin" 2export LD LIBRARY PATH="$LD LIBRARY PATH:/usr/local/cuda-version/lib64" The reason I had to add the --tmpdir command was because I was getting an error message about the default tmp directory not having enough space. Hopefully this helps someone else out