How To Install libexport-attrs-perl on Debian 12

Learn how to install libexport-attrs-perl on Debian 12 with this tutorial. libexport-attrs-perl is Perl 6 is export(…) trait as a Perl 5 attribute

Introduction

In this tutorial we learn how to install libexport-attrs-perl on Debian 12.

What is libexport-attrs-perl

libexport-attrs-perl is:

Export::Attrs is a fork of Perl6::Export::Attrs created to restore compatibility with Perl6::Export::Attrs version 0.0.3.

Implements a Perl 5 native version of what the Perl 6 symbol export mechanism will look like (with some unavoidable restrictions).

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

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

sudo apt-get -y install libexport-attrs-perl

Install libexport-attrs-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libexport-attrs-perl

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

sudo aptitude -y install libexport-attrs-perl

How To Uninstall libexport-attrs-perl on Debian 12

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

sudo apt-get remove libexport-attrs-perl

Uninstall libexport-attrs-perl And Its Dependencies

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

sudo apt-get -y autoremove libexport-attrs-perl

Remove libexport-attrs-perl Configurations and Data

To remove libexport-attrs-perl configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libexport-attrs-perl

Remove libexport-attrs-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libexport-attrs-perl

Dependencies

libexport-attrs-perl have the following dependencies:

References

Summary

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