How To Install libmultidimensional-perl on Debian 10

Learn how to install libmultidimensional-perl on Debian 10 with this tutorial. libmultidimensional-perl is Perl pragma to disable multidimensional array emulation

Introduction

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

What is libmultidimensional-perl

libmultidimensional-perl is:

Perl’s multidimensional array emulation stems from the days before the language had references, but these days it mostly serves to bite you when you typo a hash slice by using the $ sigil instead of @.

This module lexically makes using multidimensional array emulation a fatal error at compile time. To enable it, simply say

no multidimensional;

at the beginning of your script.

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

sudo apt-get -y install libmultidimensional-perl

Install libmultidimensional-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmultidimensional-perl

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

sudo aptitude -y install libmultidimensional-perl

How To Uninstall libmultidimensional-perl on Debian 10

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

sudo apt-get remove libmultidimensional-perl

Uninstall libmultidimensional-perl And Its Dependencies

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

sudo apt-get -y autoremove libmultidimensional-perl

Remove libmultidimensional-perl Configurations and Data

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

sudo apt-get -y purge libmultidimensional-perl

Remove libmultidimensional-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmultidimensional-perl

Dependencies

libmultidimensional-perl have the following dependencies:

References

Summary

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