How To Install wikipedia2text on Kali Linux
Introduction
In this tutorial we learn how to install wikipedia2text on Kali Linux.
What is wikipedia2text
wikipedia2text is:
This script fetches Wikipedia articles (currently supports around 30 Wikipedia languages) and displays them as plain text in a pager or just sends the text to standard out. Alternatively it opens the Wikipedia article in a (possibly GUI) web browser or just shows the URL of the appropriate Wikipedia article.
There are three methods to install wikipedia2text on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install wikipedia2text Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install wikipedia2text using apt-get by running the following command:
sudo apt-get -y install wikipedia2textInstall wikipedia2text Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install wikipedia2text using apt by running the following command:
sudo apt -y install wikipedia2textInstall wikipedia2text Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install wikipedia2text using aptitude by running the following command:
sudo aptitude -y install wikipedia2textHow To Uninstall wikipedia2text on Kali Linux
To uninstall only the wikipedia2text package we can use the following command:
sudo apt-get remove wikipedia2textUninstall wikipedia2text And Its Dependencies
To uninstall wikipedia2text and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove wikipedia2textRemove wikipedia2text Configurations and Data
To remove wikipedia2text configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge wikipedia2textRemove wikipedia2text configuration, data, and all of its dependencies
We can use the following command to remove wikipedia2text configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge wikipedia2textDependencies
wikipedia2text have the following dependencies:
References
Summary
In this tutorial we learn how to install wikipedia2text package on Kali Linux using different package management tools: apt, apt-get and aptitude.