How To Install libtest-minimumversion-perl on Ubuntu 18.04

In this tutorial we learn how to install libtest-minimumversion-perl on Ubuntu 18.04. libtest-minimumversion-perl is Perl test module to check the version of perl required

Introduction

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

What is libtest-minimumversion-perl

libtest-minimumversion-perl is:

Test::MinimumVersion is a simple test to look at the features you are using in your code and determine the minimum version of the perl interpreter that is required. This is helpful, for example, when you are using features like ‘say’ which was introduced in Perl 5.10.

This test makes it easy to determine if your Perl code requires a newer perl than expected, or if you accidentally made your dist require a newer version than strictly necessary.

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

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

Install libtest-minimumversion-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtest-minimumversion-perl

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

sudo aptitude -y install libtest-minimumversion-perl

How To Uninstall libtest-minimumversion-perl on Ubuntu 18.04

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

sudo apt-get remove libtest-minimumversion-perl

Uninstall libtest-minimumversion-perl And Its Dependencies

To uninstall libtest-minimumversion-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-minimumversion-perl

Remove libtest-minimumversion-perl Configurations and Data

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

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

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

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

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

References

Summary

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