aspell - Spell checker ChangeLog

HOWTO


# GNU Aspell 0.60.8.1 (released December 2023)
# ===================
# Slackware 14.0, 14.1: aspell 0.60.6
# Slackware 14.2: aspell 0.60.6.1
# Slackware 15.0: aspell 0.60.8

# If you are upgrading an old Aspell (0.33.7 or less), or have one that
# was installed under /usr/local, cd into it's source tree and run
# 'make uninstall' as root, then remove the source and tarball

# pspell has been merged with Aspell long ago.  If you still have an
# ancient separate pspell, remove it.  If you need to enable pspell support
# for PHP, that requires Aspell now.

# Prerequisites:
# gettext (if you don't use --disable-nls)

# Aspell Manual
# Aspell ChangeLog
# Aspell Developer's Manual
# Aspell mailing lists
# Aspell Savannah project
# GitHub aspell
# Available Aspell Dictionaries
# Aspell 0.60.8.1 Now Available (text file)
# aspell-announce: Aspell 0.60.8.1 Now Available (mailing list post)
# PHP: Pspell
# Perl module Text::Aspell

# Download options if you have trouble below
# https://github.com/GNUAspell/aspell/releases/download/rel-0.60.8.1/aspell-0.60.8.1.tar.gz
# https://ftp.gnu.org/gnu/aspell/
# https://ftpmirror.gnu.org/aspell/ (automatic redirect)
# https://www.gnu.org/prep/ftp.html (GNU mirrors list)

# Do this if you're installing/upgrading aspell, the dictionary, or both:
mkdir -p -m 0700 ~/installed/aspell ~/src/aspell


# Install Aspell:
# (skip this part if you're only upgrading the dictionary)
cd
test -f installed/aspell/aspell-0.60.8.1.tar.gz &&
mv installed/aspell/aspell-0.60.8.1.tar.gz .
test ! -f aspell-0.60.8.1.tar.gz &&
wget https://ftpmirror.gnu.org/aspell/aspell-0.60.8.1.tar.gz

# Verify tarball w/ sha256sum:
# (this came from my gpg-verified tarball)
echo "d6da12b34d42d457fa604e435ad484a74b2effcd120ff40acd6bb3fb2887d2\
1b  aspell-0.60.8.1.tar.gz" | sha256sum -c

# Verify tarball w/ gpg:
( gpg --list-keys B6D9D0CC38B327D7 > /dev/null 2>&1 ||
  gpg --recv-keys B6D9D0CC38B327D7 ) &&
wget -nc https://ftpmirror.gnu.org/aspell/aspell-0.60.8.1.tar.gz.sig &&
  gpg --verify aspell-0.60.8.1.tar.gz.sig &&
   rm aspell-0.60.8.1.tar.gz.sig

# Extract the source
mkdir -p -m 0700 ~/src/aspell
cd ~/src
find . aspell -maxdepth 1 -type d -name "aspell-*" -exec rm -r {} \;
cd aspell
tar xzvf ~/aspell-0.60.8.1.tar.gz
cd aspell-0.60.8.1
test $UID = 0 && chown -R root:root .

# Configure the build for 64-bit
test $(uname -m) = 'x86_64' &&
./configure --prefix=/usr --infodir=/usr/info --libdir=/usr/lib64 \
  --mandir=/usr/man

# Configure the build for anything else
test $(uname -m) != 'x86_64' &&
./configure --prefix=/usr --infodir=/usr/info --mandir=/usr/man

# Build it
make

# Become root to install it
su

# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg aspell

## Old files from previous source-installed versions would most likely
## be here
# /usr/bin/
#  (aspell, aspell-import, precat, preunzip, prezip, prezip-bin,
#   pspell-config, run-with-aspell, word-list-compress)
# /usr/include/aspell.h
# /usr/include/pspell/pspell.h
# /usr/lib64/aspell-0.60/
# /usr/lib64/libaspell.*
# /usr/lib64/libpspell.*
# /usr/man/man1/
#  (aspell.1, aspell-import.1, prezip-bin.1, pspell-config.1,
#   run-with-aspell.1, word-list-compress.1)
# /usr/info/aspell.info
# /usr/share/locale/??/LC_MESSAGES/aspell.mo

# Install it
make install
ldconfig

# Become yourself again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/aspell-?.*.tar.* installed/aspell/aspell-?.*.tar.*
mv aspell-0.60.8.1.tar.gz installed/aspell/


# Install the dictionary.  If you want to spell check a language other than
# english, replace 'en' with the two letter language code (see the list at
# https://ftp.gnu.org/gnu/aspell/dict/).
cd
test -f installed/aspell/aspell6-en-2020.12.07-0.tar.bz2 &&
mv installed/aspell/aspell6-en-2020.12.07-0.tar.bz2 .
test ! -f aspell6-en-2020.12.07-0.tar.bz2 &&
wget https://ftpmirror.gnu.org/aspell/dict/en/aspell6-en-2020.12.07-0.tar.bz2

# Verify tarball w/ sha256sum:
# (this came from my gpg-verified tarball)
echo "4c8f734a28a088b88bb6481fcf972d0b2c3dc8da944f7673283ce487eac49f\
b3  aspell6-en-2020.12.07-0.tar.bz2" | md5sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 71C636695B147849 > /dev/null 2>&1 ||
  gpg --keyserver keyserver.ubuntu.com --recv-keys 71C636695B147849 ) &&
wget -nc https://ftpmirror.gnu.org/gnu/aspell/dict/en/\
aspell6-en-2020.12.07-0.tar.bz2.sig &&
  gpg --verify aspell6-en-2020.12.07-0.tar.bz2.sig &&
   rm aspell6-en-2020.12.07-0.tar.bz2.sig

# Extract the dictionary source
mkdir -p -m 0700 ~/src
cd ~/src
find . aspell -maxdepth 1 -type d -name "aspell-en-*" -exec rm -r {} \;
cd aspell
tar xjvf ~/aspell6-en-2020.12.07-0.tar.bz2
cd aspell6-en-2020.12.07-0
test $UID = 0 && chown -R root:root .

# Configure paths
./configure

# Prep database files
make

# Become root to install it
su

# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg aspell-en

# Install it
make install

# Become yourself again
exit

# Save the source for later
cd
rm -f installed/aspell-en-*.tar.* installed/aspell/aspell-en-*.tar.* \
installed/aspell/aspell5-en-*.tar.* installed/aspell/aspell6-en-*.tar.*
mv aspell6-en-2020.12.07-0.tar.bz2 installed/aspell/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2024-07-10 12:42am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]