wn command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
wn: command not found
or when using sudo you get the following error message
sudo: wn: command not found
Solutions to wn: command not found
How To Fix wn: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu wn is provided by wordnet package.
wordnet is:
WordNet(C) is an on-line lexical reference system whose design is inspired by current psycholinguistic theories of human lexical memory. English nouns, verbs, adjectives and adverbs are organized into synonym sets, each representing one underlying lexical concept. Different relations link the synonym sets.
WordNet was developed by the Cognitive Science Laboratory at Princeton University under the direction of Professor George A. Miller (Principal Investigator).
WordNet is considered to be the most important resource available to researchers in computational linguistics, text analysis, and many related areas.
Binary and manpages of WordNet as well as general manpages.
To fix this problem, we can install more using the command below.
sudo apt-get -y install wordnet
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install wordnet.
sudo apt -y install wordnet
Or if you have aptitude installed you can use the following command.
sudo aptitude install wordnet
Summary
In this tutorial we learn how to fix wn command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.