Aspell-0.60.6.1

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 9. General Libraries

- Prev

  Apr-Util-1.6.1

- Next

  Boost-1.69.0

- Up
- Home

# Aspell-0.60.6.1

## Introduction to Aspell

The Aspell package contains an interactive spell checking program and the Aspell libraries. Aspell can either be used as a library or as an independent spell checker.

This package is known to build and work properly using an LFS-8.4 platform.

### Package Information

- Download (HTTP): https://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz

- Download (FTP): ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz

- Download MD5 sum: e66a9c9af6a60dc46134fdacf6ce97d7

- Download size: 1.8 MB

- Estimated disk space required: 58 MB (Additional 8 MB for EN dictionary)

- Estimated build time: 0.5 SBU

### Additional Downloads

You'll need to download at least one dictionary. The link below will take you to a page containing links to dictionaries in many languages.

- Aspell dictionaries: https://ftp.gnu.org/gnu/aspell/dict

### Aspell Dependencies

#### Required

Which-2.21 (for the dictionaries)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/aspell

## Installation of Aspell

First, fix some problems identified by gcc7:

    sed -i '/ top.do_check ==/s/top.do_check/*&/' modules/filter/tex.cpp &&
    sed -i '/word ==/s/word/*&/'                  prog/check_funs.cpp

Install Aspell by running the following commands:

    ./configure --prefix=/usr &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install &&
    ln -svfn aspell-0.60 /usr/lib/aspell &&

    install -v -m755 -d /usr/share/doc/aspell-0.60.6.1/aspell{,-dev}.html &&

    install -v -m644 manual/aspell.html/* \
        /usr/share/doc/aspell-0.60.6.1/aspell.html &&

    install -v -m644 manual/aspell-dev.html/* \
        /usr/share/doc/aspell-0.60.6.1/aspell-dev.html

If you do not plan to install Ispell, then copy the wrapper script ispell:

    install -v -m 755 scripts/ispell /usr/bin/

If you do not plan to install Spell, then copy the wrapper script spell:

    install -v -m 755 scripts/spell /usr/bin/

## Command Explanations

ln -svfn aspell-0.60 /usr/lib/aspell: This command is useful for configuration of other applications, such as enchant-2.2.3.

## Configuring Aspell

### Configuration Information

After Aspell is installed, you must set up at least one dictionary. Install one or more dictionaries by running the following commands:

    ./configure &&
    make

Now, as the `root` user:

    make install

## Contents

Installed Programs: aspell, aspell-import, precat, preunzip, prezip, prezip-bin, pspell-config, run-with-aspell, word-list-compress and optionally, ispell and spell.
Installed Libraries: libaspell.so and libpspell.so
Installed Directories: /usr/include/pspell and /usr/lib/aspell-0.60

### Short Descriptions

aspell | is a utility that can function as an ispell -a replacement, as an independent spell checker, as a test utility to test out Aspell features, and as a utility for managing dictionaries.
ispell | is a wrapper around aspell to invoke it in ispell compatible mode.
spell | is a wrapper around aspell to invoke it in spell compatible mode.
aspell-import | imports old personal dictionaries into Aspell.
precat | decompresses a prezipped file to stdout.
preunzip | decompresses a prezipped file.
prezip | is a prefix delta compressor, used to compress sorted word lists or other similar text files.
prezip-bin | is called by the various wrapper scripts to perform the actual compressing and decompressing.
pspell-config | displays information about the `libpspell` installation, mostly for use in build scripts.
run-with-aspell | is a script to help use Aspell as an ispell replacement.
word-list-compress | compresses or decompresses sorted word lists for use with the Aspell spell checker.
`libaspell.so` | contains spell checking API functions.
`libpspell.so` | is an interface to the `libaspell` library. All the spell checking functionality is now in `libaspell` but this library is included for backward compatibility.

Last updated on 2019-02-16 21:14:14 -0600

- Prev

  Apr-Util-1.6.1

- Next

  Boost-1.69.0

- Up
- Home