How To Install undistract-me on Debian 10

Learn how to install undistract-me on Debian 10 with this tutorial. undistract-me is Notifies user when long-running terminal commands complete via libnotify

Introduction

In this tutorial we learn how to install undistract-me on Debian 10.

What is undistract-me

undistract-me is:

If you are running an environment which supports notifications via libnotify, you can install this, and then you’ll get a notification when any command finishes that took longer than ten seconds to finish.

This package installs a set of bash functions and settings which will be pulled into a bash login shell via /etc/profile.d

There are three methods to install undistract-me on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install undistract-me Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install undistract-me

Install undistract-me Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install undistract-me

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

sudo aptitude -y install undistract-me

How To Uninstall undistract-me on Debian 10

To uninstall only the undistract-me package we can use the following command:

sudo apt-get remove undistract-me

Uninstall undistract-me And Its Dependencies

To uninstall undistract-me and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove undistract-me

Remove undistract-me Configurations and Data

To remove undistract-me configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge undistract-me

Remove undistract-me configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge undistract-me

Dependencies

undistract-me have the following dependencies:

References

Summary

In this tutorial we learn how to install undistract-me package on Debian 10 using different package management tools: apt, apt-get and aptitude.