How To Install sway-notification-center on Debian 12
Introduction
In this tutorial we learn how to install sway-notification-center
on Debian 12.
What is sway-notification-center
sway-notification-center is:
A simple notification daemon for sway with a GTK gui for notifications and the control center.
There are three methods to install sway-notification-center
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install sway-notification-center Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install sway-notification-center
using apt-get
by running the following command:
sudo apt-get -y install sway-notification-center
Install sway-notification-center Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install sway-notification-center
using apt
by running the following command:
sudo apt -y install sway-notification-center
Install sway-notification-center Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install sway-notification-center
using aptitude
by running the following command:
sudo aptitude -y install sway-notification-center
How To Uninstall sway-notification-center on Debian 12
To uninstall only the sway-notification-center
package we can use the following command:
sudo apt-get remove sway-notification-center
Uninstall sway-notification-center And Its Dependencies
To uninstall sway-notification-center
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove sway-notification-center
Remove sway-notification-center Configurations and Data
To remove sway-notification-center
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge sway-notification-center
Remove sway-notification-center configuration, data, and all of its dependencies
We can use the following command to remove sway-notification-center
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sway-notification-center
Dependencies
sway-notification-center have the following dependencies:
- libc6
- libcairo2
- libgdk-pixbuf-2.0-0
- libglib2.0-0
- libgtk-3-0
- libgtk-layer-shell0
- libhandy-1-0
- libjson-glib-1.0-0
- libpango-1.0-0
- dconf-gsettings-backend
- init-system-helpers
References
Summary
In this tutorial we learn how to install sway-notification-center
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.