wikipedia2text command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
wikipedia2text: command not found
or when using sudo you get the following error message
sudo: wikipedia2text: command not found
Solutions to wikipedia2text: command not found
How To Fix wikipedia2text: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu wikipedia2text is provided by wikipedia2text package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install wikipedia2text
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install wikipedia2text.
sudo apt -y install wikipedia2text
Or if you have aptitude installed you can use the following command.
sudo aptitude install wikipedia2text
Summary
In this tutorial we learn how to fix wikipedia2text command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.