That was easy. Now you need to install dictionaries for it to use. After each dictionary addition dictd will automatically restart to reload its databases. Let’s say we want to install the English dictionary and an English thesaurus (look up synonyms).
Type:
$ sudo apt-get install dict-gcide
$ sudo apt-get install dict-moby-thesaurus
If you want another language you can check the other packages by typing:
$ sudo apt-cache search “dict package”