How To Install libpackage-stash-xs-perl on Debian 11

In this tutorial we learn how to install libpackage-stash-xs-perl on Debian 11. libpackage-stash-xs-perl is Perl module providing routines for manipulating stashes (XS version)

Introduction

In this tutorial we learn how to install libpackage-stash-xs-perl on Debian 11.

What is libpackage-stash-xs-perl

libpackage-stash-xs-perl is:

Manipulating stashes (Perl’s symbol tables) is occasionally necessary, but incredibly messy, and easy to get wrong. Package::Stash hides all of that behind a simple API.

Package::Stash::XS provides the faster and more correct XS implementation.

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

sudo apt-get -y install libpackage-stash-xs-perl

Install libpackage-stash-xs-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpackage-stash-xs-perl

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

sudo aptitude -y install libpackage-stash-xs-perl

How To Uninstall libpackage-stash-xs-perl on Debian 11

To uninstall only the libpackage-stash-xs-perl package we can use the following command:

sudo apt-get remove libpackage-stash-xs-perl

Uninstall libpackage-stash-xs-perl And Its Dependencies

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

sudo apt-get -y autoremove libpackage-stash-xs-perl

Remove libpackage-stash-xs-perl Configurations and Data

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

sudo apt-get -y purge libpackage-stash-xs-perl

Remove libpackage-stash-xs-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpackage-stash-xs-perl

Dependencies

libpackage-stash-xs-perl have the following dependencies:

References

Summary

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