Skip to main content
Sunshine supports multiple installation methods on Linux. Choose the method that best fits your distribution and requirements.

CUDA Compatibility

CUDA is used for NVFBC capture on NVIDIA GPUs.
See CUDA GPUS to cross-reference Compute Capability to your GPU. The table below applies to packages provided by LizardByte. If you use an official LizardByte package, then you do not need to install CUDA separately.
PackageCUDA VersionMin DriverCompute Capabilities
sunshine.AppImage12.9.1575.57.0850, 52, 60, 61, 62, 70, 72, 75, 80, 86, 87, 89, 90, 100, 101, 103, 120, 121
sunshine-ubuntu-22.04-.deb12.9.1575.57.0850, 52, 60, 61, 62, 70, 72, 75, 80, 86, 87, 89, 90, 100, 101, 103, 120, 121
sunshine-ubuntu-24.04-.deb12.9.1575.57.0850, 52, 60, 61, 62, 70, 72, 75, 80, 86, 87, 89, 90, 100, 101, 103, 120, 121
sunshine-debian-trixie-.deb12.9.1575.57.0850, 52, 60, 61, 62, 70, 72, 75, 80, 86, 87, 89, 90, 100, 101, 103, 120, 121
sunshine_.flatpak12.9.1575.57.0850, 52, 60, 61, 62, 70, 72, 75, 80, 86, 87, 89, 90, 100, 101, 103, 120, 121
sunshine.pkg.tar.zst12.9.1575.57.0850, 52, 60, 61, 62, 70, 72, 75, 80, 86, 87, 89, 90, 100, 101, 103, 120, 121
Sunshine (copr - Fedora)12.9.1575.57.0850, 52, 60, 61, 62, 70, 72, 75, 80, 86, 87, 89, 90, 100, 101, 103, 120, 121
Sunshine (copr - OpenSUSE)12.9.1575.57.0850, 52, 60, 61, 62, 70, 72, 75, 80, 86, 87, 89, 90, 100, 101, 103, 120, 121

Installation Methods

Install

Download sunshine-{distro}-{distro-version}-{arch}.deb and install:
sudo dpkg -i ./sunshine-{distro}-{distro-version}-{arch}.deb
The {distro-version} is the version of the distro we built the package on. The {arch} is the architecture of your operating system.
You can double-click the deb file to see details about the package and begin installation.

Uninstall

sudo apt remove sunshine

Post-Installation Setup

Services

Two service unit files are available. Pick “sunshine” for unprivileged XDG Portal or X11 capture, otherwise pick “sunshine-kms” for privileged KMS capture.
Start once:
systemctl --user start sunshine
Start on boot (unprivileged; swap logic for KMS):
systemctl --user --now disable sunshine-kms
systemctl --user --now enable sunshine

Input Devices

If inputs (mouse, keyboard, gamepads) aren’t working after connecting, add the user running sunshine to the input group.

Build docs developers (and LLMs) love