Skip to content

Instantly share code, notes, and snippets.

@talison
Created September 27, 2009 16:30
Show Gist options
  • Save talison/194872 to your computer and use it in GitHub Desktop.
Save talison/194872 to your computer and use it in GitHub Desktop.
#!/bin/bash
#
# Quick-n-dirty installation of aspell plus
# English dictionary on OSX.
######
d=`mktemp -d aspell.XXXXX`
version="0.60.6"
dict_version="6.0-0"
pushd $d
wget ftp://ftp.gnu.org/gnu/aspell/aspell-${version}.tar.gz || exit 1
wget ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-${dict_version}.tar.bz2 || exit 1
echo "Installing aspell version $version"
tar -xf aspell-${version}.tar.gz && \
cd aspell-${version} && \
./configure && \
make && \
make install && \
cd ..
echo "Installing aspell english dict version $dict_version"
tar -jxf aspell6-en-${dict_version}.tar.bz2 && \
cd aspell6-en-${dict_version} && \
./configure && \
make && \
make install
popd && \
rm -rf $d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment