How To Install libacme-constant-perl on Ubuntu 18.04

In this tutorial we learn how to install libacme-constant-perl on Ubuntu 18.04. libacme-constant-perl is module that makes inconstant constants, except actually not

Introduction

In this tutorial we learn how to install libacme-constant-perl on Ubuntu 18.04.

What is libacme-constant-perl

libacme-constant-perl is:

Acme::constant lets you make inconstant constants, just like the constants the users of Ruby or Opera (before Opera 14, that is) already enjoyed.

Unlike Perl constants, that are replaced at compile time, Acme constants, in true dynamic programming language style, can be modified even after declaration.

Just like constants generated with standard use constant pragma, the constants declared with use Acme::Constant don’t have any sigils. This makes using constants easier, as you don’t have to remember what sigil do constants use.

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

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

sudo apt-get -y install libacme-constant-perl

Install libacme-constant-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libacme-constant-perl

Install libacme-constant-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libacme-constant-perl

How To Uninstall libacme-constant-perl on Ubuntu 18.04

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

sudo apt-get remove libacme-constant-perl

Uninstall libacme-constant-perl And Its Dependencies

To uninstall libacme-constant-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libacme-constant-perl

Remove libacme-constant-perl Configurations and Data

To remove libacme-constant-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libacme-constant-perl

Remove libacme-constant-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libacme-constant-perl

References

Summary

In this tutorial we learn how to install libacme-constant-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.