How To Install liblist-moreutils-perl on Debian 10

Learn how to install liblist-moreutils-perl on Debian 10 with this tutorial. liblist-moreutils-perl is Perl module with additional list functions not found in List

Introduction

In this tutorial we learn how to install liblist-moreutils-perl on Debian 10.

What is liblist-moreutils-perl

liblist-moreutils-perl is:

List::MoreUtils provides some trivial but commonly needed functionality on lists which is not going to go into List::Util.

All of the functions are implementable in only a couple of lines of Perl code. Using the functions from this module however should give slightly better performance as everything is implemented in C. The pure-Perl implementation of these functions only serves as a fallback in case the C portions of this module could not be compiled on this machine.

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

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

sudo apt-get -y install liblist-moreutils-perl

Install liblist-moreutils-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liblist-moreutils-perl

Install liblist-moreutils-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install liblist-moreutils-perl

How To Uninstall liblist-moreutils-perl on Debian 10

To uninstall only the liblist-moreutils-perl package we can use the following command:

sudo apt-get remove liblist-moreutils-perl

Uninstall liblist-moreutils-perl And Its Dependencies

To uninstall liblist-moreutils-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove liblist-moreutils-perl

Remove liblist-moreutils-perl Configurations and Data

To remove liblist-moreutils-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge liblist-moreutils-perl

Remove liblist-moreutils-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liblist-moreutils-perl

Dependencies

liblist-moreutils-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install liblist-moreutils-perl package on Debian 10 using different package management tools: apt, apt-get and aptitude.