Scroll to navigation



installdeb-hunspell - debhelper-like utility for maintainers of Debian packages


 installdeb-hunspell [debhelper options]


installdeb-hunspell is a debhelper like program that is responsible for installing appropriate debhelper snippets in a package, according to the Debian Spell Dictionaries and Tools Policy.

For more details, see

The actions executed by installdeb-hunspell are the following:

  • Maintainer Scripts

    installdeb-hunspell installs the necessary scraps of code in the postinst and postrm scripts.

  • Language info file

    installdeb-hunspell also checks a file containing
    information, called debian/info-hunspell or debian/ If this file is successfully parsed, it is installed in the /var/lib/dictionaries-common/hunspell directory.

  • Substvars substitutions

    This script will populate a substvars file, so Depends line in control file can contain ${hunspell:Depends} to automatically care for dictionaries-common dependencies.

    This requires "Build-Depends" on at least dictionaries-common-dev 1.23.0 and is highly recommended.

  • Debconf files

    As opposed to installdeb-ispell and installdeb-wordlist, neither installdeb-aspell nor installdeb-hunspell do anything related to debconf files, since both aspell and hunspell rely on the environment variable "LANG" for default dictionary selection instead of using symlinks set after a debconf question on dictionary installation. For that reason if you need to add debconf stuff with debhelper to your aspell or hunspell dictionary package do it in the usual way and call dh_installdebconf(1) as for any other package.


The usual dephelper(1) options are accepted.


This program is not part of debhelper, although it is intended to be used in hunspell dictionary packages using debhelper in its building.


debhelper(1), dictionaries-common.checklist, dsdt-policy.txt

This program is part of the dictionaries-common-dev package. It is intended to be used by maintainers of hunspell dictionary packages for Debian. See the documentation under /usr/share/doc/dictionaries-common-dev.


Rafael Laboissiere, Agustin Martin

2023-9-07 1.29.7