Install wikipedia2text by entering the following commands in the terminal:
sudo apt update sudo apt install wikipedia2text
Description:
displays Wikipedia articles on the command line
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.
Homepage: https://blog.256bit.org/archives/126-Wikipedia-in-der-Shell.html
Version: 0.12-1
Section: universe/text