How To Install psi-notify on Debian 12

Learn how to install psi-notify on Debian 12 with this tutorial. psi-notify is Alert when your machine is becoming oversaturated

Introduction

In this tutorial we learn how to install psi-notify on Debian 12.

What is psi-notify

psi-notify is:

psi-notify is a minimal unprivileged notifier for system-wide resource pressure using PSI. This can help you to identify misbehaving applications on your machine before they start to severely impact system responsiveness, in a way which MemAvailable, CPU graphs, I/O utilisation graphs and other metrics cannot.

There are three methods to install psi-notify 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 psi-notify Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install psi-notify using apt-get by running the following command:

sudo apt-get -y install psi-notify

Install psi-notify Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install psi-notify using apt by running the following command:

sudo apt -y install psi-notify

Install psi-notify 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 psi-notify using aptitude by running the following command:

sudo aptitude -y install psi-notify

How To Uninstall psi-notify on Debian 12

To uninstall only the psi-notify package we can use the following command:

sudo apt-get remove psi-notify

Uninstall psi-notify And Its Dependencies

To uninstall psi-notify and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove psi-notify

Remove psi-notify Configurations and Data

To remove psi-notify configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge psi-notify

Remove psi-notify configuration, data, and all of its dependencies

We can use the following command to remove psi-notify configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge psi-notify

Dependencies

psi-notify have the following dependencies:

References

Summary

In this tutorial we learn how to install psi-notify package on Debian 12 using different package management tools: apt, apt-get and aptitude.