How To Install libdesktop-notify-perl on Kali Linux

In this tutorial we learn how to install libdesktop-notify-perl on Kali Linux. libdesktop-notify-perl is Perl module which communicates with the Desktop Notifications framework

Introduction

In this tutorial we learn how to install libdesktop-notify-perl on Kali Linux.

What is libdesktop-notify-perl

libdesktop-notify-perl is:

This module provides a Perl interface to the Desktop Notifications framework.

The framework allows applications to display pop-up notifications on an X desktop. This is implemented with two components: a daemon that displays the notifications, and a client library used by applications to send notifications to the daemon. These components communicate through the DBus message bus protocol.

This module serves the same purpose as libnotify, in an object-oriented Perl interface. It is not, however, an interface to libnotify itself, but a separate implementation of the specification using Net::DBus.

There are three methods to install libdesktop-notify-perl on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libdesktop-notify-perl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libdesktop-notify-perl

Install libdesktop-notify-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdesktop-notify-perl

Install libdesktop-notify-perl Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libdesktop-notify-perl

How To Uninstall libdesktop-notify-perl on Kali Linux

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

sudo apt-get remove libdesktop-notify-perl

Uninstall libdesktop-notify-perl And Its Dependencies

To uninstall libdesktop-notify-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libdesktop-notify-perl

Remove libdesktop-notify-perl Configurations and Data

To remove libdesktop-notify-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libdesktop-notify-perl

Remove libdesktop-notify-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdesktop-notify-perl

Dependencies

libdesktop-notify-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libdesktop-notify-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.