wikipedia command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
wikipedia: command not found
or when using sudo you get the following error message
sudo: wikipedia: command not found
Solutions to wikipedia: command not found
How To Fix wikipedia: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu wikipedia is provided by libwww-wikipedia-perl package.
libwww-wikipedia-perl is:
WWW::Wikipedia provides an automated interface to Wikipedia http://www.wikipedia.org, which is a free, collaborative, online encyclopedia. WWW::Wikipedia allows you to search for a topic and return the resulting entry. It also gives you access to related topics which are also available via the Wikipedia for that entry.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libwww-wikipedia-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libwww-wikipedia-perl.
sudo apt -y install libwww-wikipedia-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libwww-wikipedia-perl
Summary
In this tutorial we learn how to fix wikipedia command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.