LinuxCommandLibrary

enchant-lsmod

List available Enchant provider modules

SYNOPSIS

enchant-lsmod [--help] [--version]

PARAMETERS

--help, -?
    Display help options and exit

--version
    Print version information and exit

DESCRIPTION

enchant-lsmod is a utility from the Enchant spell-checking library, which provides a generic interface to various dictionary backends. This command lists all compiled-in and available provider modules, such as Aspell, Hunspell, or MySpell, that Enchant can use for spell-checking, suggestion, and dictionary operations in applications like word processors or IDEs.

Enchant abstracts multiple spell-check engines, allowing seamless switching without application changes. enchant-lsmod helps diagnose issues, verify installations, or select backends via environment variables like ENABLE_MODULE. Output is simple: one module name per line, reflecting runtime availability based on library configuration and installed providers.

Common use includes troubleshooting why a spell-checker fails in tools like LibreOffice or Vim. It requires the enchant package and relevant backend libraries. No arguments needed for basic listing.

EXAMPLE OUTPUT

aspell
hunspell
personal
hspell

USAGE NOTE

List respects ENABLE_MODULE env var to filter modules.

HISTORY

Developed by Kevin Hendricks starting ~2001 as libenchant. Reached version 1.x in 2000s with backend support; version 2.x (2016+) introduced enchant-2 tools but retained compatibility. Widely used in GNOME, KDE apps.

SEE ALSO

enchant(1), aspell(1), hunspell(1)

Copied to clipboard