How To Install libtest-distmanifest-perl on Ubuntu 18.04

In this tutorial we learn how to install libtest-distmanifest-perl on Ubuntu 18.04. libtest-distmanifest-perl is Perl module for verifying CPAN MANIFEST files

Introduction

In this tutorial we learn how to install libtest-distmanifest-perl on Ubuntu 18.04.

What is libtest-distmanifest-perl

libtest-distmanifest-perl is:

Test::DistManifest provides a simple method of testing that a MANIFEST matches the distribution. It is similar to Test::CheckManifest, but differs in that it has native support for the MANIFEST.SKIP file.

It tests three things:

  1. Everything in MANIFEST exists
  2. Everything in the package is listed in MANIFEST, or subsequently matches a regular expression mask in MANIFEST.SKIP
  3. Nothing exists in MANIFEST that also matches a mask in MANIFEST.SKIP, which is an unsatisfiable condition

Much of the functionality is provided by Module::Manifest, so developers wishing to manipulate MANIFEST files in a similar way are encouraged to look at that distribution.

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

sudo apt-get -y install libtest-distmanifest-perl

Install libtest-distmanifest-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtest-distmanifest-perl

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

sudo aptitude -y install libtest-distmanifest-perl

How To Uninstall libtest-distmanifest-perl on Ubuntu 18.04

To uninstall only the libtest-distmanifest-perl package we can use the following command:

sudo apt-get remove libtest-distmanifest-perl

Uninstall libtest-distmanifest-perl And Its Dependencies

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

sudo apt-get -y autoremove libtest-distmanifest-perl

Remove libtest-distmanifest-perl Configurations and Data

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

sudo apt-get -y purge libtest-distmanifest-perl

Remove libtest-distmanifest-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtest-distmanifest-perl

References

Summary

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