Ways to Uninstall and Install dunst Ubuntu 22.04

Updated: October 9, 2022

Dunst is a highly configurable and lightweight notification-daemon: The only thing it displays is a colored box with unformatted text. The whole notification specification (non-optional parts and the “body” capability) is supported as long as it fits into this look & feel. In this tutorial, I will show you ways to install dunst Ubuntu 22.04.

Software Requirement

  • OS: dunst needs Ubuntu 22.04 to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install dunst on Ubuntu 22.04

Install dunst Ubuntu 22.04

dunst is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install dunst using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these steps to get dunst on your Ubuntu.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install dunst Ubuntu by executing this command in the terminal.

sudo apt install dunst

Install dunst using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt -y install aptitude

After installing aptitude, you can now install dunst by following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install dunst Ubuntu by executing this command in the terminal.

sudo aptitude install dunst

Uninstall dunst on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just dunst.

This command can be used to uninstall dunst from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove dunst

If you want to uninstall dunst and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge dunst

Ending

In this tutorial, I showed you ways to install dunst on Ubuntu 22.04 and some ways to uninstall dunst too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.