How To Install libdata-pageset-perl on Debian 10

Learn how to install libdata-pageset-perl on Debian 10 with this tutorial. libdata-pageset-perl is Perl module for page numbering and page sets

Introduction

In this tutorial we learn how to install libdata-pageset-perl on Debian 10.

What is libdata-pageset-perl

libdata-pageset-perl is:

The object produced by Data::Pageset can be used to create page navigation, it inherits from Data::Page and has access to all methods from this object.

In addition it also provides methods for dealing with set of pages, so that if there are too many pages you can easily break them into chunks for the user to browse through.

You can even choose to view page numbers in your set in a ‘sliding’ fassion.

The object can easily be passed to a templating system such as Template Toolkit or be used within a script.

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

sudo apt-get -y install libdata-pageset-perl

Install libdata-pageset-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdata-pageset-perl

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

sudo aptitude -y install libdata-pageset-perl

How To Uninstall libdata-pageset-perl on Debian 10

To uninstall only the libdata-pageset-perl package we can use the following command:

sudo apt-get remove libdata-pageset-perl

Uninstall libdata-pageset-perl And Its Dependencies

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

sudo apt-get -y autoremove libdata-pageset-perl

Remove libdata-pageset-perl Configurations and Data

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

sudo apt-get -y purge libdata-pageset-perl

Remove libdata-pageset-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdata-pageset-perl

Dependencies

libdata-pageset-perl have the following dependencies:

References

Summary

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