How To Install libmeta-builder-perl on Ubuntu 18.04

In this tutorial we learn how to install libmeta-builder-perl on Ubuntu 18.04. libmeta-builder-perl is tool for creating Meta objects to track custom metrics

Introduction

In this tutorial we learn how to install libmeta-builder-perl on Ubuntu 18.04.

What is libmeta-builder-perl

libmeta-builder-perl is:

Meta programming is becoming more and more popular. The popularity of Meta programming comes from the fact that many problems are made significantly easier. There are a few specialized Meta tools out there, for instance Class:MOP which is used by Moose to track class metadata.

Meta::Builder is designed to be a generic tool for writing Meta objects. Unlike specialized tools, Meta::Builder makes no assumptions about what metrics you will care about. Meta::Builder also mkaes it simple for others to extend your meta-object based tools by providing hooks for other packages to add metrics to your meta object.

If a specialized Meta object tool is available to meet your needs please use it. However if you need a simple Meta object to track a couple metrics, use Meta::Builder.

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

sudo apt-get -y install libmeta-builder-perl

Install libmeta-builder-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmeta-builder-perl

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

sudo aptitude -y install libmeta-builder-perl

How To Uninstall libmeta-builder-perl on Ubuntu 18.04

To uninstall only the libmeta-builder-perl package we can use the following command:

sudo apt-get remove libmeta-builder-perl

Uninstall libmeta-builder-perl And Its Dependencies

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

sudo apt-get -y autoremove libmeta-builder-perl

Remove libmeta-builder-perl Configurations and Data

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

sudo apt-get -y purge libmeta-builder-perl

Remove libmeta-builder-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmeta-builder-perl

References

Summary

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