How To Install libsignal-mask-perl on Debian 9

In this tutorial we learn how to install libsignal-mask-perl on Debian 9. libsignal-mask-perl is module for easy handling of signal masks

Introduction

In this tutorial we learn how to install libsignal-mask-perl on Debian 9.

What is libsignal-mask-perl

libsignal-mask-perl is:

Signal::Mask is an abstraction around your process or thread signal mask. It is used to fetch and/or change the signal mask of the calling process or thread. The signal mask is the set of signals whose delivery is currently blocked for the caller. It is available as the global hash %Signal::Mask.

Signal::Pending is an abstraction around your process’/thread’s pending signals. It can be used in combination with signal masks to handle signals in a controlled manner. The set of pending signals is available as the global hash %Signal::Pending.

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

Install libsignal-mask-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 libsignal-mask-perl using apt-get by running the following command:

sudo apt-get -y install libsignal-mask-perl

Install libsignal-mask-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsignal-mask-perl

Install libsignal-mask-perl 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 libsignal-mask-perl using aptitude by running the following command:

sudo aptitude -y install libsignal-mask-perl

How To Uninstall libsignal-mask-perl on Debian 9

To uninstall only the libsignal-mask-perl package we can use the following command:

sudo apt-get remove libsignal-mask-perl

Uninstall libsignal-mask-perl And Its Dependencies

To uninstall libsignal-mask-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libsignal-mask-perl

Remove libsignal-mask-perl Configurations and Data

To remove libsignal-mask-perl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libsignal-mask-perl

Remove libsignal-mask-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsignal-mask-perl

Dependencies

libsignal-mask-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libsignal-mask-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.