How To Install mediawiki2latex on Debian 9
Introduction
In this tutorial we learn how to install mediawiki2latex
on Debian 9.
What is mediawiki2latex
mediawiki2latex is:
This project provides a simple way of turning a HTML page hosted on a server into a high quality PDF version as well an its LaTeX source file respectively.
Particular care has been to generate esthetically pleasing results for pages hosted on servers running MediaWiki.
This project provides a simple default mode which just requires the URL to the page and creates a PDF file, by processing the HTML generated by the (MediaWiki-) server. It also provides extended possibilities giving a fine grained control over the conversion process to users familiar with LaTeX and MediaWiki.
Much effort was put into providing reasonable defaults for this way of processing for the needs of the English and German Wikibooks projects. Images are also downloaded, and if necessary modified for use in a LaTeX document. The latest test run on more than 2000 featured articles on the English Wikipedia completed without failures.
There are three methods to install mediawiki2latex
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install mediawiki2latex Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install mediawiki2latex
using apt-get
by running the following command:
sudo apt-get -y install mediawiki2latex
Install mediawiki2latex Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install mediawiki2latex
using apt
by running the following command:
sudo apt -y install mediawiki2latex
Install mediawiki2latex 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 mediawiki2latex
using aptitude
by running the following command:
sudo aptitude -y install mediawiki2latex
How To Uninstall mediawiki2latex on Debian 9
To uninstall only the mediawiki2latex
package we can use the following command:
sudo apt-get remove mediawiki2latex
Uninstall mediawiki2latex And Its Dependencies
To uninstall mediawiki2latex
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove mediawiki2latex
Remove mediawiki2latex Configurations and Data
To remove mediawiki2latex
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge mediawiki2latex
Remove mediawiki2latex configuration, data, and all of its dependencies
We can use the following command to remove mediawiki2latex
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mediawiki2latex
Dependencies
mediawiki2latex have the following dependencies:
References
Summary
In this tutorial we learn how to install mediawiki2latex
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.