HOWTO
# aspell 0.60.4
# =============
# Slackware 10.0's 'aspell' package includes version 0.50.5, 10.1's includes
# 0.60, and 10.2's includes 0.60.2
# If you are upgrading the old aspell (.33.7 or less), cd into it's source
# tree and run 'make uninstall', then remove the source and tarball
# pspell has been merged with aspell, so unless you need to keep it around
# to build pspell support into PHP or something like that, also
# 'make uninstall' it
# To clean up an aspell that was installed under /usr/local, cd into it's
# source and run 'make uninstall' before proceeding here. After that do
# this to clean up the empty directories it'll leave behind:
su
test -d /usr/local/include/pspell && rm -r /usr/local/include/pspell
test -d /usr/local/lib/aspell && rm -r /usr/local/lib/aspell
test -d /usr/local/share/aspell && rm -r /usr/local/share/aspell
test -d /usr/local/share/doc/aspell && rm -r /usr/local/share/doc/aspell
exit
# Prerequisites:
#
gawk
#
sed
#
grep
# 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.4.tar.gz &&
mv installed/aspell/aspell-0.60.4.tar.gz .
test ! -f aspell-0.60.4.tar.gz &&
wget http://ftp.gnu.org/gnu/aspell/aspell-0.60.4.tar.gz
# Verify tarball w/
coreutils:
# (this came from my gpg-verified tarball)
echo "4f1737e726d66476b9c7388831305510 aspell-0.60.4.tar.gz" | md5sum -c
# Verify tarball w/
coreutils:
# (this also came from my gpg-verified tarball)
echo "07353593eb89e64c49b1fd8dd405e3ee0ed86291 aspell-0.60.4.tar.gz" | sha1sum -c
# Verify tarball w/
gpg:
( gpg --list-keys 38B327D7 > /dev/null 2>&1 || gpg --recv-keys 38B327D7 ) &&
wget -nc http://ftp.gnu.org/gnu/aspell/aspell-0.60.4.tar.gz.sig &&
gpg --verify aspell-0.60.4.tar.gz.sig &&
rm aspell-0.60.4.tar.gz.sig
find src src/aspell -maxdepth 1 -type d -name "aspell-*" -exec rm -r {} \;
cd src/aspell
tar xzvf ~/aspell-0.60.4.tar.gz
cd aspell-0.60.4
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr
make
# Become root to install it
su
removepkg aspell
rm -f /usr/lib/libaspell.* /usr/lib/libpspell.*
make install
ldconfig
# Become yourself again
exit
cd
rm -f installed/aspell-?.*.tar.* installed/aspell/aspell-?.*.tar.*
mv aspell-0.60.4.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
#
http://ftp.gnu.org/gnu/aspell/dict/).
cd
test -f installed/aspell/aspell6-en-6.0-0.tar.bz2 &&
mv installed/aspell/aspell6-en-6.0-0.tar.bz2 .
test ! -f aspell6-en-6.0-0.tar.bz2 &&
wget http://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2
# Verify tarball w/
md5sum:
# (this came from my gpg-verified tarball)
echo "16449e0a266e1ecc526b2f3cd39d4bc2 aspell6-en-6.0-0.tar.bz2" | md5sum -c
# Verify tarball w/
sha1sum:
# (this also came from my gpg-verified tarball)
echo "9723820a22340bcc3a12aae45df26d9ff0608829 aspell6-en-6.0-0.tar.bz2" | sha1sum -c
# Verify tarball w/
gpg:
( gpg --list-keys 38B327D7 > /dev/null 2>&1 || gpg --recv-keys 38B327D7 ) &&
wget -nc http://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2.sig &&
gpg --verify aspell6-en-6.0-0.tar.bz2.sig &&
rm aspell6-en-6.0-0.tar.bz2.sig
find src src/aspell -maxdepth 1 -type d -name "aspell-en-*" -exec rm -r {} \;
cd src/aspell
tar xjvf ~/aspell6-en-6.0-0.tar.bz2
cd aspell6-en-6.0-0
test $UID = 0 && chown -R root:root .
./configure
make
su -c "removepkg aspell-en ; make install"
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-6.0-0.tar.bz2 installed/aspell/