How To Install libclass-tiny-antlers-perl on Debian 12

Learn how to install libclass-tiny-antlers-perl on Debian 12 with this tutorial. libclass-tiny-antlers-perl is Moose-like sugar for Class

Introduction

In this tutorial we learn how to install libclass-tiny-antlers-perl on Debian 12.

What is libclass-tiny-antlers-perl

libclass-tiny-antlers-perl is:

Class::Tiny::Antlers provides Moose-like has, extends, with, before, after and around keywords for Class::Tiny. (The with keyword requires Role::Tiny; method modifiers require Class::Method::Modifiers.)

Class::Tiny doesn’t support all Moose’s attribute options; has should throw you an error if you try to do something it doesn’t support (like triggers).

Class::Tiny::Antlers does however hack in support for is => ‘ro’ and Moo-style is => ‘rwp’, clearers and predicates.

From version 0.24, Class::Tiny::Antlers also adds support for isa and coerce using Type::Tiny. (I mean, this is a TOBYINK module, so what do you expect?!) Technically MooseX::Types, MouseX::Types, Specio, and Type::Nano should work, but these are less tested.

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

sudo apt-get -y install libclass-tiny-antlers-perl

Install libclass-tiny-antlers-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libclass-tiny-antlers-perl

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

sudo aptitude -y install libclass-tiny-antlers-perl

How To Uninstall libclass-tiny-antlers-perl on Debian 12

To uninstall only the libclass-tiny-antlers-perl package we can use the following command:

sudo apt-get remove libclass-tiny-antlers-perl

Uninstall libclass-tiny-antlers-perl And Its Dependencies

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

sudo apt-get -y autoremove libclass-tiny-antlers-perl

Remove libclass-tiny-antlers-perl Configurations and Data

To remove libclass-tiny-antlers-perl configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libclass-tiny-antlers-perl

Remove libclass-tiny-antlers-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libclass-tiny-antlers-perl

Dependencies

libclass-tiny-antlers-perl have the following dependencies:

References

Summary

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