How To Install libipc-shareable-perl on Debian 10

Learn how to install libipc-shareable-perl on Debian 10 with this tutorial. libipc-shareable-perl is module to access IPC shared memory segments through perl

Introduction

In this tutorial we learn how to install libipc-shareable-perl on Debian 10.

What is libipc-shareable-perl

libipc-shareable-perl is:

This perl module provides a tie() interface to System V IPC shared memory segments.

IPC::Shareable allows you to tie a variable to shared memory making it easy to share the contents of that variable with other Perl processes. Scalars, arrays, and hashes can be tied. The variable being tied may contain arbitrarily complex data structures - including references to arrays, hashes of hashes, etc.

There are three methods to install libipc-shareable-perl 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 libipc-shareable-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 libipc-shareable-perl using apt-get by running the following command:

sudo apt-get -y install libipc-shareable-perl

Install libipc-shareable-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libipc-shareable-perl

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

sudo aptitude -y install libipc-shareable-perl

How To Uninstall libipc-shareable-perl on Debian 10

To uninstall only the libipc-shareable-perl package we can use the following command:

sudo apt-get remove libipc-shareable-perl

Uninstall libipc-shareable-perl And Its Dependencies

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

sudo apt-get -y autoremove libipc-shareable-perl

Remove libipc-shareable-perl Configurations and Data

To remove libipc-shareable-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libipc-shareable-perl

Remove libipc-shareable-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libipc-shareable-perl

Dependencies

libipc-shareable-perl have the following dependencies:

References

Summary

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