How To Install libmediawiki-dumpfile-perl on Debian 10

Learn how to install libmediawiki-dumpfile-perl on Debian 10 with this tutorial. libmediawiki-dumpfile-perl is Perl module to parse MediaWiki dump files

Introduction

In this tutorial we learn how to install libmediawiki-dumpfile-perl on Debian 10.

What is libmediawiki-dumpfile-perl

libmediawiki-dumpfile-perl is:

MediaWiki::DumpFile is used to parse various dump files from a MediaWiki instance. The most likely use-case is that you want to parse content at http://download.wikimedia.org/backup-index.html provided by WikiMedia, which includes the English and all other language Wikipedias.

This module could also be considered Parse::MediaWikiDump version 2. It has been created as a separate distribution to improve the API without breaking existing code that is using Parse::MediaWikiDump.

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

sudo apt-get -y install libmediawiki-dumpfile-perl

Install libmediawiki-dumpfile-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmediawiki-dumpfile-perl

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

sudo aptitude -y install libmediawiki-dumpfile-perl

How To Uninstall libmediawiki-dumpfile-perl on Debian 10

To uninstall only the libmediawiki-dumpfile-perl package we can use the following command:

sudo apt-get remove libmediawiki-dumpfile-perl

Uninstall libmediawiki-dumpfile-perl And Its Dependencies

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

sudo apt-get -y autoremove libmediawiki-dumpfile-perl

Remove libmediawiki-dumpfile-perl Configurations and Data

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

sudo apt-get -y purge libmediawiki-dumpfile-perl

Remove libmediawiki-dumpfile-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmediawiki-dumpfile-perl

Dependencies

libmediawiki-dumpfile-perl have the following dependencies:

References

Summary

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