Updating Aspell on Unix"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(New page: Updating Aspell on Unix Note that many servers' default installation of GNU Aspell is outdated, so if you update the spellerpages/server-scripts/spellchecker.php ( or .cfm/ .pl) to use th...)
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Updating Aspell on Unix
+
== Updating Aspell on Unix ==
  
Note that many servers' default installation of GNU Aspell is outdated, so if you update the spellerpages/server-scripts/spellchecker.php ( or .cfm/ .pl) to use the defaults as entered by FredCK, your spellchecker will likely fail. cPanel-based servers in particular will only have v 0.33, which does not have the HTML filter available, nor the encoding option. If your server is using cPanel for hosting, you will need to upgrade Aspell manually, from the command line. If you're on a shared host, you will need to request that your host company do this. You can refer them to the post by "silver surfer" at this forum thread: http://forums.cpanel.net/showthread.php?t=35534&highlight=aspell+rpm
+
Note that many servers' default installation of GNU Aspell is outdated, so if you update the spellerpages/server-scripts/spellchecker.php ( or .cfm/ .pl) to use the defaults as entered by FredCK, your spellchecker will likely fail. cPanel-based servers in particular will only have v 0.33, which does not have the HTML filter available, nor the encoding option. If your server is using cPanel for hosting, you will need to upgrade Aspell manually, from the command line. If you're on a shared host, you will need to request that your host company do this. You can refer them to the post by "silver surfer" at this forum thread: http://forums.cpanel.net/showthread.php?t=35534&highlight=aspell+rpm
  
 
If you have root access to your server, you can update it yourself. Here are the instructions (adapted from the aforementioned forum post):
 
If you have root access to your server, you can update it yourself. Here are the instructions (adapted from the aforementioned forum post):
  
1. Find out which aspell pkgs are installed, if any.
+
# Find out which aspell pkgs are installed, if any.<br>'''rpm -qa | grep aspell'''
 
+
# If there are some installed, the above will give a list like <br>'''aspell-0.33.7.1-25.3 aspell-devel-0.33.7.1-25.3'''
rpm -qa | grep aspell
+
# If nothing listed, go to <nowiki>#4</nowiki>. Else, uninstall those that are listed.<br>'''rpm -e aspell-0.33.7.1-25.3'''<br>'''aspell-devel-0.33.7.1-25.3'''
 
+
# Download the updated version and the dictionary files<br>'''cd /usr/local/src'''<br>''''w''get' ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.5.tar.gz'''''''<br>''''w'get' ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2'''
2. If there are some installed, the above will give a list like:
+
# Unzip the files<br>'''tar -zvxf aspell-0.60.5.tar.gz'''<br>'''tar -jxvf aspell6-en-6.0-0.tar.bz2'''
 
+
# Configuring and compiling. The first make will take a while!::'''cd aspell-0.60.5 ./configure make make install'''<br>'''cd ../aspell6-en-6.0-0 ./configure make make install'''
aspell-0.33.7.1-25.3
+
# Kill any rogue processes, if any.<br>'''killall aspell'''
aspell-devel-0.33.7.1-25.3
+
# Add a sym link.<br>'''ln -s /usr/local/bin/aspell /usr/bin/aspell'''
 
+
# Test it:<br>'''echo "'''this word is mispeled'''" | /usr/local/bin/aspell -a -d american -H'''
3. If nothing listed, go to #4. Else, uninstall those that are listed.
 
 
 
rpm -e aspell-0.33.7.1-25.3 aspell-devel-0.33.7.1-25.3
 
 
 
4. Download the updated version and the dictionary files
 
 
 
cd /usr/local/src
 
'w''get' ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.5.tar.gz
 
 
 
'w''get' ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2
 
 
 
5. Unzip the files
 
 
 
tar -zvxf aspell-0.60.5.tar.gz
 
tar -jxvf aspell6-en-6.0-0.tar.bz2
 
 
 
6. Configuring and compiling. The first make will take a while!
 
 
 
cd aspell-0.60.5
 
./configure
 
make
 
make install
 
 
 
cd ../aspell6-en-6.0-0
 
./configure
 
make
 
make install
 
 
 
7. Kill any rogue processes, if any.
 
 
 
killall aspell
 
 
 
8. Add a sym link.
 
 
 
ln -s /usr/local/bin/aspell /usr/bin/aspell  
 
 
 
9. Test it:
 
 
 
echo "<strong>this word is mispeled</strong>" | /usr/local/bin/aspell -a -d american -H
 
 
 
Should give you output like this:
 
  
 +
Should give you output like this:
 +
<pre>
 
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.5)
 
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.5)
 
*
 
*
& mispeled 16 21: misspelled, misapplied, misled, dispelled, misfiled, misruled, mislead, spelled, spieled, misplaced, mispla
+
&amp; mispeled 16 21: misspelled, misapplied, misled, dispelled, misfiled, misruled, mislead, spelled, spieled, misplaced, mispla yed, misspell, misfield, misspend, simpled, misplay</pre>
yed, misspell, misfield, misspend, simpled, misplay
 

Latest revision as of 13:58, 16 January 2008

Updating Aspell on Unix

Note that many servers' default installation of GNU Aspell is outdated, so if you update the spellerpages/server-scripts/spellchecker.php ( or .cfm/ .pl) to use the defaults as entered by FredCK, your spellchecker will likely fail. cPanel-based servers in particular will only have v 0.33, which does not have the HTML filter available, nor the encoding option. If your server is using cPanel for hosting, you will need to upgrade Aspell manually, from the command line. If you're on a shared host, you will need to request that your host company do this. You can refer them to the post by "silver surfer" at this forum thread: http://forums.cpanel.net/showthread.php?t=35534&highlight=aspell+rpm

If you have root access to your server, you can update it yourself. Here are the instructions (adapted from the aforementioned forum post):

  1. Find out which aspell pkgs are installed, if any.
    rpm -qa | grep aspell
  2. If there are some installed, the above will give a list like
    aspell-0.33.7.1-25.3 aspell-devel-0.33.7.1-25.3
  3. If nothing listed, go to #4. Else, uninstall those that are listed.
    rpm -e aspell-0.33.7.1-25.3
    aspell-devel-0.33.7.1-25.3
  4. Download the updated version and the dictionary files
    cd /usr/local/src
    'wget' ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.5.tar.gz''
    'w'get' ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2
  5. Unzip the files
    tar -zvxf aspell-0.60.5.tar.gz
    tar -jxvf aspell6-en-6.0-0.tar.bz2
  6. Configuring and compiling. The first make will take a while!::cd aspell-0.60.5 ./configure make make install
    cd ../aspell6-en-6.0-0 ./configure make make install
  7. Kill any rogue processes, if any.
    killall aspell
  8. Add a sym link.
    ln -s /usr/local/bin/aspell /usr/bin/aspell
  9. Test it:
    echo "this word is mispeled" | /usr/local/bin/aspell -a -d american -H

Should give you output like this:

@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.5)
*
& mispeled 16 21: misspelled, misapplied, misled, dispelled, misfiled, misruled, mislead, spelled, spieled, misplaced, mispla yed, misspell, misfield, misspend, simpled, misplay
This page was last edited on 16 January 2008, at 13:58.