INSTALLDEB-WORDLIST(1)
π INSTALLDEB-WORDLIST π
okay so bestie, welcome to the manual page for installdeb-wordlist β a debhelper-like utility for maintainers of wordlist Debian packages. she's giving helper energy, she's giving policy compliance, she's literally here to make your wordlist packaging not a nightmare. π
β¨ SYNOPSIS β¨
installdeb-wordlist [debhelper options] [options]
πΈ DESCRIPTION πΈ
installdeb-wordlist is a debhelper like program that is responsible for installing appropriate debconf config and templates files and debhelper snippets in a wordlist package, according to the Debian Spell Dictionaries and Tools Policy. periodt.
For more details, see
/usr/share/doc/dictionaries-common-dev/dsdt-policy.txt.gz
The actions executed by installdeb-wordlist are the following, and yes we're going through ALL of them, no skips: π
- Maintainer Scripts
installdeb-wordlist installs the necessary scraps of code in the postinst and postrm scripts.
- Language info file
installdeb-wordlist also checks a file containing wordlist information, called debian/info-wordlist or debian/package.info-wordlist. If this file is successfully parsed, it is installed in the /var/lib/dictionaries-common/wordlist directory.
- Substvars substitutions
This script will populate a substvars file, so Depends line in control file can contain ${wordlist: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. (like, highly. take the rec. π«Ά)
- Debconf files
- templates and config files
installdeb-wordlist installs the Policy compliant Debconf files from the information contained in the info-wordlist file. These files are created as debian/config (or debian/package.config) and debian/templates (or debian/package.templates). No intervention is needed here, since installdeb-wordlist will make a call to dh_installdebconf(1). she handles it, you chill. π
If the package needs to have special code in the config file, the maintainer should supply files called debian/config.in (or debian/package.config.in). In the config.in file, the string "#DEBHELPER#" must appear alone in one line and start at the first column. installdeb-wordlist will replace that token with the necessary Policy compliant code (this works with config.in is either a Bourne shell or Perl script).
If the package needs to define its own questions via the templates file the maintainer should either supply files debian/po-master.templates (or debian/package.po-master.templates) together with the appropriate po files if the package handles template localization through po-debconf, or debian/templates.in (or debian/package.templates.in) otherwise. See the po-debconf(7) manual page for more details and remember that the master templates name is now different. β οΈ not me warning you twice, it's just true.
The templates defined in the templates.in or po-master.templates files are merged into the Policy compliant templates by installdeb-wordlist and a call to dh_installdebconf(1) is internally done.
- The elanguages template field
This field is useful if you want to override the debconf languages string with something different (since the master string remains the same, this will not trigger a new debconf call) or if you really think that the languages string should be internationalized for your package. Note that for most packages the poor man default localization should be enough, and translators should have another priorities. (real talk bestie.)
installdeb-wordlist default behavior is not adding an "elanguages" field to the templates file. If you want it added you have to call the script with the explicit --write-elanguages option. no vibes-based auto-magic here, you gotta ask. π
This field will be added with value taken from the "Elanguage" entry in the info file if present, or after the "Language" value otherwise. Note that this is useful only if:
- You want to fix a buggy entry
In this case just fill the "Elanguage" field in the info file with the new value. This will be shown at the debconf prompt.
- You want to fully internationalize your entries
In this case some black magic is needed at first time for smooth use, π§
- Run
installdeb-{ispell,wordlist} --no-installdebconf --write-elanguagesfor every package whose string should be internationalized. Edit the created.templatesfiles and remove the leading underscores in the elanguages entry if present. - Run
debconf-gettextize templates_to_be_internationalized. Check that all the desired.templatesfiles are indebian/po/POTFILES.inand remove old.configand.templatesfiles. - Run again
installdeb-{ispell,wordlist} --no-installdebconf --write-elanguagesanddebconf-updatepo(no edit here) to remove references to non-translatable strings. Check that the desired strings are in the po master file (debian/po/templates.pot) and remove.configand.templatesfiles. You are done. If the master"Elanguages"string is changed, repeat (c) afterward.
β OPTIONS β
The usual dephelper(1) options are accepted. Options below are specific to installdeb-wordlist:
--no-installdebconfβ Do not rundh_installdebconfnor remove templates and config file.--no-pre-postβ Do not install{pre,post}{inst,rm}snippets.--write-elanguagesβ Create the elanguages stuff. (the moment you've been waiting for π)--debugβ Show some extra info.
π NOTES π
This program is not part of debhelper, although it is intended to be used in wordlist packages using debhelper in its building. she's debhelper-adjacent, she's her own girl. π
π SEE ALSO π
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 wordlist packages for Debian. See the documentation under /usr/share/doc/dictionaries-common-dev.
π AUTHORS π
Rafael Laboissiere, Agustin Martin
okay that's the whole thing, you ate it, you understood it, go package your wordlist bestie π this was installdeb-wordlist manual page, version 1.31.4, dated 2026-3-22, shipped with dictionaries-common-dev. slay, bye! β¨π¦πΈ
π¦ where this page comes from
- ubuntu resolute: dictionaries-common-dev 1.31.4
- ubuntu stonking: dictionaries-common-dev 1.31.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms