---
name: "installdeb-hunspell"
section: "1"
platform: "linux"
package: "dictionaries-common-dev"
version: "1.30.10"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/installdeb-hunspell"
---

# installdeb-hunspell(1)

debhelper-like utility for maintainers of Debian packages

## NAME

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

## SYNOPSIS

```
 installdeb-hunspell [debhelper options]
```

## DESCRIPTION

**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\
  /usr/share/doc/dictionaries-common-dev/dsdt-policy.txt.gz

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/package.info-hunspell*. 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)](/dh_installdebconf/1.md) as for any other package.

## OPTIONS

The usual **dephelper**(1) options are accepted.

## NOTES

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

## SEE ALSO

[**debhelper**(1)](/debhelper/1.md), 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.

## AUTHORS

Rafael Laboissiere, Agustin Martin
