install enchant dictionaries

I had a bit of a hard time getting enchant installed with dictionaries on Mac OS X. Here’s how to do it:


sudo port install enchant # you'll need MacPorts 1.8.* for this

Then download the dictionaries from the OpenOffice wiki.

Next, place the files in ~/.enchant like so:

$ tree .enchant/
.enchant/
`-- myspell
    |-- en_US.aff
    `-- en_US.dic

UPDATE
You can also set the path to where you want to keep the dictionaries when you compile enchant by passing the --with-myspell-dir option to configure (or aspell, hspell etc).

Share:
  • del.icio.us
  • Reddit
  • Technorati
  • Twitter
  • Facebook
  • Google Bookmarks
  • HackerNews
  • PDF
  • RSS
This entry was posted in shell, sysadmin. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">