Skip to content
nect edited this page Dec 2, 2024 · 15 revisions

Install with package manager

Dunst is available in many package repositories. Chances are you can simply install it with your package manager. If not, don't worry, it's not hard to build it yourself.

You can check the version of Dunst available with your package manager on Repology.

Optional tools

Dunst comes with it's own script for sending notifications, dunstify. This will probably be installed together with dunst. You might find it useful, however, to use a standard tool for that job. If so, install notify-send. It can't do everything that dunstify can, but it will work for most things.

Building it yourself

After you have installed all the dependencies needed, you can build dunst:

# clone the repository
git clone https://github.com/dunst-project/dunst.git
cd dunst

# compile and install
make
sudo make install

On Debian (and derivatives) systems the preferred method to install is to use checkinstall instead of sudo make install

PREFIX=/usr checkinstall # Prefix is necessary to systemctl service installation
sudo dpkg -i dunst_*_amd64.deb # Install generated .deb

Optional dunstify binary

Dunstify is enabled by default. To build without dunstify set DUNSTIFY to 0.

# This builds without dunstify
DUNSTIFY=0 make all

Dunstify is then install by make install (given that it was not disabled).