LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

aspell-autobuildhash

Rebuild aspell dictionary hash files

TLDR

Rebuild all aspell hash files
$ sudo aspell-autobuildhash
copy
Force a rebuild of every hash file
$ sudo aspell-autobuildhash --force
copy
Preview what would be done without changing anything
$ sudo aspell-autobuildhash --dry-run
copy

SYNOPSIS

aspell-autobuildhash [--force]

DESCRIPTION

aspell-autobuildhash manages the autobuilding of aspell hash files for dictionary packages. It is part of the dictionaries-common package and is normally invoked automatically by dpkg triggers after a dictionary is installed or upgraded.For each aspell dictionary configured to use it, the script decides whether the hash file must be rebuilt based on the aspell compatibility level, then regenerates the hash files used for fast spell checking.

PARAMETERS

--force

Rebuild the hash file for all dicts providing a compat file, regardless of the compatibility levels found.
--dry-run
Show what would be done, but make no actual changes.
--debug
Show extra info about the script's internal work; also enables aspell affix validation.
--triggered
Tell the script that it is running in the dpkg triggers stage.

INSTALL

sudo apt install aspell
copy
sudo dnf install aspell
copy
sudo pacman -S aspell
copy
sudo apk add aspell
copy
sudo zypper install aspell
copy
brew install aspell
copy
nix profile install nixpkgs#aspell
copy

CAVEATS

Requires root privileges to write to system dictionary directories. Automatically run by package managers after dictionary installation.

HISTORY

aspell-autobuildhash is provided by the Debian dictionaries-common package, written by Agustin Martin, to automatically regenerate aspell hash files after dictionary updates.

SEE ALSO

RESOURCES

Copied to clipboard
Kai