LinuxAlternative

Linux · Office

Hunspell

Hunspell is a spell‑checking engine used by many Linux office suites and editors.

Open sourceFree
Be the first to rate
License
GPL-2.0
Latest version
1.7.5

What is Hunspell?

Hunspell is a mature spell‑checking library that has been part of the Linux ecosystem for over a decade. It started as a fork of the OpenOffice spell checker and has since become the default backend for LibreOffice, OpenOffice, and many other applications.

It is aimed at users who need accurate, language‑aware spell checking in a variety of text editors and office suites. It supports complex languages, hyphenation, and custom dictionaries.

Compared with Windows tools like Grammarly, Hunspell is lightweight and fast, but it lacks the advanced grammar‑checking and style‑suggestion features that Grammarly offers. It feels more like a traditional spell checker than a full‑blown writing assistant.

Best for: Users who need a reliable, language‑aware spell checker for Linux office suites and editors.

Key features of Hunspell

  • Supports over 200 languages
  • Custom user dictionaries
  • Hyphenation patterns
  • Dictionary file format (.dic/.aff)
  • Cross‑platform C API
  • Unicode support
  • Open source
  • Extensible via plugins

Pros

  • Free and open source
  • Highly configurable
  • Works in many editors
  • Fast and low resource usage
  • Widely supported

Cons

  • No grammar or style checking
  • No real‑time suggestions like Grammarly
  • Requires manual dictionary setup
  • Limited UI in some editors

Windows programs Hunspell replaces

How to install Hunspell on Linux

Ubuntu / Mintsudo apt install hunspell
Debiansudo apt install hunspell
Fedorasudo dnf install hunspell
Arch / Manjarosudo pacman -S hunspell
openSUSEsudo zypper install hunspell

Tips for Windows users

If you’re moving from Grammarly, expect to lose grammar suggestions and real‑time style feedback. Hunspell works with standard dictionary files (.dic/.aff) that you can download or create yourself. Most Linux editors expose a spell‑check toggle; shortcuts vary (e.g., LibreOffice uses Ctrl+Shift+S). Workflow changes: you’ll need to enable the spell checker manually and add custom words to your personal dictionary via the editor’s settings.

File formats are the same as any standard text editor; you can open .docx, .odt, .txt, etc. The main difference is the lack of a cloud‑based service; everything runs locally.

If you need grammar checking, consider installing LanguageTool or using a browser extension that works on Linux.

FAQ:[{"q":"How do I add a custom word to Hunspell?","a":"Open your editor’s dictionary settings and add the word to the user dictionary file, usually located in ~/.config/hunspell/ or ~/.local/share/hunspell/.","q":"Can I use Hunspell with Vim?","a":"Yes, install the vim-hunspell plugin and point it to the Hunspell dictionaries.","q":"Is Hunspell updated regularly?","a":"The core library receives updates through the distribution’s package manager; major changes are rare.","q":"Does Hunspell support right‑to‑left languages?","a":"Yes, it supports languages like Arabic and Hebrew via appropriate dictionaries."}]

Updated