{"slug": "getting-cuda-toolkit-installed-on-void-linux", "title": "Getting CUDA toolkit installed on Void Linux", "summary": "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.", "body_md": "This is a short post (mainly for myself) to remember how I got CUDA installed on Void Linux. These steps are as follows:\nchmod +x ./cuda_version.run\n1sudo ./cuda_11.8.0_520.61.05_linux.run --silent --override --toolkit --no-opengl-libs --tmpdir=/home/aselimov/down/tmp\n1export PATH=\"$PATH:/usr/local/cuda-version/bin\"\n2export LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH:/usr/local/cuda-version/lib64\"\nThe reason I had to add the --tmpdir\ncommand was because I was getting an error message about the default tmp\ndirectory not having enough space.\nHopefully this helps someone else out!", "url": "https://wpnews.pro/news/getting-cuda-toolkit-installed-on-void-linux", "canonical_source": "https://www.alexselimov.com/posts/cuda_on_void/", "published_at": "2025-04-15 14:45:26+00:00", "updated_at": "2026-05-23 08:36:32.956820+00:00", "lang": "en", "topics": ["developer-tools", "hardware", "open-source"], "entities": ["CUDA", "Void Linux", "NVIDIA"], "alternates": {"html": "https://wpnews.pro/news/getting-cuda-toolkit-installed-on-void-linux", "markdown": "https://wpnews.pro/news/getting-cuda-toolkit-installed-on-void-linux.md", "text": "https://wpnews.pro/news/getting-cuda-toolkit-installed-on-void-linux.txt", "jsonld": "https://wpnews.pro/news/getting-cuda-toolkit-installed-on-void-linux.jsonld"}}