From Fedora Project Wiki

Hunspell Dictionary dir change


Update Hunspell Dictionary system directory from /usr/share/myspell/ to /usr/share/hunspell/


Current status

Detailed Description

In most of Linux distributions the standard Hunspell dictionary path is /usr/share/hunspell/ but in Fedora still has /usr/share/myspell/. This effort is to follow default standard to install all Hunspell dictionary into /usr/share/hunspell/ instead of /usr/share/myspell/.


Benefit to Fedora

This will future proof Fedora to use the correct current location for hunspell spelling dictionaries.


  • Proposal owners:
    • PR for Hunspell package
      • Update dir name from myspell/ to hunspell/
      • Create symlink myspell (to have better backward compatibility)
    • PRs for language dictionaries (121 packages):
      • Update “install dir” from myspell/ to hunspell/
    • PRs for enchant, enchant2, icecat, kde packages, libreoffice, firefox, seamonkey, thunderbird:
      • Update dictionary usage path from myspell/ to hunspell/
    • Test copr repo
  • Other developers:
    • merge PRs to update path in hunspell-* dictionaries
    • Merge PRs to update path dictionary path for libreoffice & Firefox
  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Objectives:

Upgrade/compatibility impact

How To Test

1. Check if default installed dictionary path is /usr/share/hunspell/

$ hunspell -D or $ ls /usr/share/hunspell/

2. Install any language dictionary and check if it getting installed into '/usr/share/hunspell/'

$ dnf install hunspell-hi

$ hunspell -D

3. Test spellchecking working in desktop apps for your language (eg Libreoffice, Firefox, Gedit, Evolution, Thunderbird, KDE, Emacs, etc)

4. Spellchecking on commandline: aspell, hunspell, nuspell

User Experience

User should not notice any difference: their applications should continue to work as expected after this directory migration.


Contingency Plan

  • Contingency mechanism: revert release back to /usr/share/myspell
  • Contingency deadline: Beta
  • Blocks release? No


Release Notes