Install Lutris Gaming on Debian




This will guide through the steps to install Lutris for gaming on Debian Linux. I followed these steps using Debian 11 to play StarCraft 2 and other games.

Enable 32-bit repos

For several things, you'll need the 32-bit libraries so enable that with apt.

# Enable multilib
sudo dpkg --add-architecture i386
sudo apt edit-sources

Then in the apt sources, make sure i386 is added

deb [arch=amd64,i386] bullseye main non-free contrib
sudo apt update

Install wine staging

# Trust Wine's gpg key
wget -nc
sudo apt-key add winehq.key

sudo apt edit-sources
# Add the following line: Replace bullseye with current version
deb bullseye main

# Install updated wine packages
sudo apt update
sudo apt install --install-recommends winehq-staging

Without installing Wine staging, I would see errors like the following:

err:kerberos:kerberos_LsaApInitializePackage no Kerberos support
err:user:load_desktop_driver failed to load L"winex11.drv"

Install NVidia drivers in Debian

To disable the Nouveau drivers and install the NVIDIA drivers,

sudo vim /etc/modprobe.d/blacklist-nouveau.conf

Put the following contents in the file:

blacklist nouveau
options nouveau modeset=0

Then update initramf and reboot.

sudo update-initramfs -u
sudo reboot

Then you can download and run the official NVIDIA driver installer from

# For example:
sudo /bin/sh

Switching to console only mode

If you are in the desktop environment, and you need to turn it off for NVIDIA installer to run properly, open your terminal and run init 3 to get to terminal only mode:

sudo init 3
# Then press CTRL+ALT+F1 or F2

# Install the drivers

# To get back to graphical mode:
sudo init 5

Vulkan drivers

Install the libvulkan stuff or it will complain about not being able to find vulkan 32-bit drivers.

sudo apt install libvulkan1 libvulkan1:i386

Install Lutris

Follow instructions on Lutris website:

At the time of writing this, the Debian 11 steps were:

echo "deb ./" | sudo tee /etc/apt/sources.list.d/lutris.list

wget -q -O- | sudo apt-key add -

sudo apt update
sudo apt install lutris

Install games with Lutris

To install games with Lutris, open the program and find in the left menu: "Sources | Lutris" and then select the "Community Installers" tab and search.

Each game by default will create its own Wine prefix directory in $HOME/Games.

Installing StarCraft 2

For StarCraft 2, I also needed winbind and gnutls.

sudo apt install winbind libgnutls{xx28,28-dev}:i386