npx skills add ...
npx skills add nvidia/skills --skill holoscan-install-debian
Install Holoscan SDK natively on Ubuntu via apt. Use for C++ installs on Ubuntu; pair with /holoscan-install-wheel for Python.
npx skills add nvidia/skills --skill holoscan-install-debian
Install the Holoscan SDK C++ runtime + headers on Ubuntu using NVIDIA's apt repo, selecting the right holoscan-cuda-* package for the host's CUDA driver and verifying with the bundled C++ examples.
nvidia-smi).sudo and network access to developer.download.nvidia.com and docs.nvidia.com.cuda-keyring package (Step 2 installs it if missing)./holoscan-install-wheel if the user needs Python.holoscan-cuda-12 vs holoscan-cuda-13); wrong variant → "CUDA driver version is insufficient".Fetch the Debian/apt section of https://docs.nvidia.com/holoscan/sdk-user-guide/sdk_installation.html before installing. Extract:
holoscan-cuda-12, holoscan-cuda-13, holoscan)If the doc disagrees with anything below, the doc wins.
Determine OS version and CUDA variant if not already known — run in parallel:
CUDA variant rule — pick the apt package:
| nvidia-smi CUDA Version | Package |
|---|---|
| 13.x+ | holoscan-cuda-13 |
| 12.x (on IGX) | holoscan |
| 12.x (not on IGX) | holoscan-cuda-12 |
| 12.x (nvgpu) | holoscan-cuda-12 |
Decision rules based on what Step 1 found:
cuda-keyring is already installed.apt-get update if the repo is already configured and the package is visible in apt-cache show.holoscan-cuda-12 when targeting cu12).Skip this step if the package is already installed (detected in Step 1) or if user is on IGX platform.
Set the env once for the rest of this step, then run the three C++ checks:
Once verified, share this snippet with user and suggest adding it to their shell startup file (e.g., ~/.bashrc) if they want it to persist across sessions:
Then offer next steps:
/holoscan-install-wheells /opt/nvidia/holoscan/examples//explain-examplepython3 -c "import holoscan" fails after apt install. Expected — the Debian package has been C++ only since v3.0.0. Run /holoscan-install-wheel to add Python bindings.nvidia-smi CUDA Version and swap variants: sudo apt-get remove -y holoscan-cuda-13 && sudo apt-get install -y holoscan-cuda-12 (or vice versa).E: Unable to locate package holoscan-cuda-12. cuda-keyring not installed or repo not yet pulled. Run the keyring + apt-get update block in Step 2 (adjust ubuntu2204/ubuntu2404 to match the host).ulimit -s 32768 not set in the current shell. Prepend it to the command (Step 3 pattern).error while loading shared libraries: libholoscan_core.so. LD_LIBRARY_PATH is unset. Use the env snippet from Step 4 — export LD_LIBRARY_PATH=/opt/nvidia/holoscan/lib.video_replayer can't find data. Set HOLOSCAN_INPUT_PATH=/opt/nvidia/holoscan/data, or run sudo /opt/nvidia/holoscan/examples/download_example_data to fetch the racerx dataset.