xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

We have moved

This page has been moved to https://github.com/Xpra-org/xpra/blob/master/docs/Build/Debian.md

Archived copy:

Building on Debian and Ubuntu

https://xpra.org/icons/debian.png - https://xpra.org/icons/ubuntu.png

For general information, see wiki/Building first. For Python 2, see wiki/Building/Debian/Python2.


Install the base dependencies:

apt-get install libx11-dev libxtst-dev libxcomposite-dev libxdamage-dev \
                libxkbfile-dev \
  • GTK3 for the server and GUI client:
    apt-get install libgtk-3-dev python3-dev python3-cairo-dev python-gi-dev cython3

Also install some X11 utilities if not installed already:

apt-get install xauth x11-xkb-utils


  • for video support (x264 and vpx), you should install:
    apt-get install libx264-dev libvpx-dev yasm
  • for using nvenc:
    apt-get install libnvidia-encode1
  • ffmpeg based video codecs (see #1256 for more information):
    apt-get install libavformat-dev libavcodec-dev libswscale-dev
  • jpeg:
    apt-get install libturbojpeg-dev
  • webp:
    apt-get install libwebp-dev


  • for the html5 client:
    apt-get install uglifyjs brotli libjs-jquery libjs-jquery-ui gnome-backgrounds
  • opengl and rendering:
    apt-get install python3-opengl python3-numpy python3-pil
  • network bits:
    apt-get install python3-rencode python3-lz4 python3-dbus python3-cryptography \
        python3-netifaces python3-yaml python3-lzo
  • misc:
    apt-get install python3-setproctitle python3-xdg python3-pyinotify python3-opencv \
  • misc X11:
    apt-get install libpam-dev quilt xserver-xorg-dev xutils-dev xserver-xorg-video-dummy xvfb keyboard-configuration
  • authentication modules:
    apt-get install python3-kerberos python3-gssapi
  • audio:
    apt-get install gstreamer1.0-pulseaudio gstreamer1.0-alsa \
        gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
  • for printing:
    apt-get install cups-filters cups-common cups-pdf python3-cups
  • for ssh:
    apt-get install openssh-client sshpass python3-paramiko


Install the tools:

apt-get install devscripts build-essential lintian debhelper

You can build a quick and dirty DEB package using:

cd trunk/src/
ln -sf ../debian .
debuild -us -uc -b
Last modified 17 months ago Last modified on 02/06/21 14:05:39