How To Install libalias-perl on Debian 11

In this tutorial we learn how to install libalias-perl on Debian 11. libalias-perl is module for accessing perl variables through aliases

Introduction

In this tutorial we learn how to install libalias-perl on Debian 11.

What is libalias-perl

libalias-perl is:

You may find the Alias module useful if you:

  • are tired of dereferencing hash-based object attributes

  • wish perl could make-do with fewer $, -> and {} things

  • are a little scared of using typeglobs

  • want the freedom to put what you want, when you want in the symbol table without having to deal with weird syntax

  • need to use scalar constants in your program since you don’t trust yourself from changing $PI

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

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

sudo apt-get -y install libalias-perl

Install libalias-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libalias-perl

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

sudo aptitude -y install libalias-perl

How To Uninstall libalias-perl on Debian 11

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

sudo apt-get remove libalias-perl

Uninstall libalias-perl And Its Dependencies

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

sudo apt-get -y autoremove libalias-perl

Remove libalias-perl Configurations and Data

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

sudo apt-get -y purge libalias-perl

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

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

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

Dependencies

libalias-perl have the following dependencies:

References

Summary

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