Skip to content
nect edited this page Jan 13, 2025 · 25 revisions

Dunst requires these libraries to compile.

Additionally, gdk-pixbuf has librsvg as an optional runtime dependency (for loading svg files).

NOTE: dunstctl uses busctl for displaying rules and history. This command is usually provided by systemd. In systems without systemd this can be installed with elogind or basu.

IMPORTANT: To work correctly dunst needs a font. Also, without a font the test suite will fail in strange ways (see #1404). For maintainers, it is recommended to add a test/soft dependency on a virtual font package.

Debian and Ubuntu

In general, on Debian and Debian-based distros (and many other binary based distros) you'll need also the *-dev packages.

apt install libdbus-1-dev libx11-dev libxinerama-dev libxrandr-dev libxss-dev libglib2.0-dev \
    libpango1.0-dev libgtk-3-dev libxdg-basedir-dev libgdk-pixbuf-2.0-dev librsvg-2.0

Optional dunstify dependency

apt install libnotify-dev