Dunst requires these libraries to compile.
gdk-pixbuf-2.0
glib-2.0
gio-2.0
pangocairo
(provided by pango + cairo)libnotify
(optional, for dunstify)wayland-client
(optional, for wayland)wayland-cursor
(optional, for wayland)x11
(optional, for xorg)xinerama
(optional, for xorg)xext
(optional, for xorg)xrandr
(optional, for xorg)xscrnsaver
(optional, for xorg)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.
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
apt install libnotify-dev