How To Install libdist-inkt-perl on Ubuntu 20.04

Hostnbit
In this tutorial we learn how to install libdist-inkt-perl on Ubuntu 20.04. libdist-inkt-perl is yet another distribution builder

Introduction

In this tutorial we learn how to install libdist-inkt-perl on Ubuntu 20.04.

What is libdist-inkt-perl

libdist-inkt-perl is:

Dist::Inkt itself does virtually nothing;
it creates an empty directory, generates a MANIFEST file,
and then wraps it all up into a gzipped tarball.
But it provides various hooks along the way
for subclasses to grab hold of.
So the general idea is that you write a subclass of Dist::Inkt,
which consumes various Moose::Roles to do the actual work
of populating the distribution with files.

As such, Dist::Inkt is not so much a distribution builder,
as it is a framework for writing your own distribution builder.

Several roles of varying utility are bundled with Dist::Inkt,
as is Dist::Inkt::Profile::Simple,
a subclass of Dist::Inkt which consumes most of these roles.

There are three methods to install libdist-inkt-perl on Ubuntu 20.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 libdist-inkt-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 libdist-inkt-perl using apt-get by running the following command:

sudo apt-get -y install libdist-inkt-perl

Install libdist-inkt-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdist-inkt-perl

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

sudo aptitude -y install libdist-inkt-perl

How To Uninstall libdist-inkt-perl on Ubuntu 20.04

To uninstall only the libdist-inkt-perl package we can use the following command:

sudo apt-get remove libdist-inkt-perl

Uninstall libdist-inkt-perl And Its Dependencies

To uninstall libdist-inkt-perl and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libdist-inkt-perl

Remove libdist-inkt-perl Configurations and Data

To remove libdist-inkt-perl configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libdist-inkt-perl

Remove libdist-inkt-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdist-inkt-perl

References

Summary

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

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top