cd /news/developer-tools/getting-cuda-toolkit-installed-on-vo… · home topics developer-tools article
[ARTICLE · art-10978] src=alexselimov.com pub= topic=developer-tools verified=true sentiment=· neutral

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.

read1 min views7 publishedApr 15, 2025

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!

── more in #developer-tools 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/getting-cuda-toolkit…] indexed:0 read:1min 2025-04-15 ·