How do I add missing dictionaries for aspell? [closed]

Aspell version:

$ aspell -v
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.6)

Dump dict yields no results:

$ aspell dump dicts

First noticed the problem when I did this, was originally working on web server, but someone updated something and it hasn't worked since:

$ aspell check temp_test_file.txt
Error: No word lists can be found for the language "en_US".

What's the proper way of installing the required dictionaries? I believe we're running this on CentOS.

And also, /usr/lib/aspell-0.60 does not contain the required dictionaries (provided that they're supposed to be saved there).

data-dir: /usr/lib/aspell-0.60


Solution 1:

If you've installed pspell/aspell via a package channel, the dictionaries may be available in another package. On CentOS 6 using default yum repositories, English dictionaries are in package aspell-en.

Solution 2:

Download dictionaries from here: ftp://ftp.gnu.org/gnu/aspell/dict/en/ Unzip it and do,

    ./configure
    make 
    make install

All the instructions are in README. This Makefile will find the correct locations that these dictionaries should go to.