How To Install libconstant-generate-perl on Debian 10

Learn how to install libconstant-generate-perl on Debian 10 with this tutorial. libconstant-generate-perl is Perl module providing useful utilities for handling symbolic constants

Introduction

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

What is libconstant-generate-perl

libconstant-generate-perl is:

Constant::Generate provides useful utilities for handling, debugging, and generating opaque, ‘magic-cookie’ type constants as well as value-significant constants.

Using its simplest interface, it will generate a simple enumeration of names passed to it on import.

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

sudo apt-get -y install libconstant-generate-perl

Install libconstant-generate-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libconstant-generate-perl

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

sudo aptitude -y install libconstant-generate-perl

How To Uninstall libconstant-generate-perl on Debian 10

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

sudo apt-get remove libconstant-generate-perl

Uninstall libconstant-generate-perl And Its Dependencies

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

sudo apt-get -y autoremove libconstant-generate-perl

Remove libconstant-generate-perl Configurations and Data

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

sudo apt-get -y purge libconstant-generate-perl

Remove libconstant-generate-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libconstant-generate-perl

Dependencies

libconstant-generate-perl have the following dependencies:

References

Summary

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