source: general/genlib/aspell.xml@ e65bf5e

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since e65bf5e was e65bf5e, checked in by Pierre Labastie <pierre.labastie@…>, 13 months ago

aspell: show how to install the English dictionary

  • Property mode set to 100644
File size: 12.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY aspell-download-http "&gnu-http;/aspell/aspell-&aspell-version;.tar.gz">
8 <!ENTITY aspell-download-ftp "&gnu-ftp;/aspell/aspell-&aspell-version;.tar.gz">
9 <!ENTITY aspell-en-dict "aspell6-en-2020.12.07-0">
10 <!ENTITY aspell-en-dict-url "&gnu-http;/aspell/dict/en/&aspell-en-dict;.tar.bz2">
11 <!ENTITY aspell-md5sum "012fa9209203ae4e5a61c2a668fd10e3">
12 <!ENTITY aspell-size "3.3 MB">
13 <!ENTITY aspell-buildsize "51 MB (Additional 8 MB for EN dictionary)">
14 <!ENTITY aspell-time "0.4 SBU">
15]>
16
17<sect1 id="aspell" xreflabel="Aspell-&aspell-version;">
18 <?dbhtml filename="aspell.html"?>
19
20
21 <title>Aspell-&aspell-version;</title>
22
23 <indexterm zone="aspell">
24 <primary sortas="a-Aspell">Aspell</primary>
25 </indexterm>
26
27 <sect2 role="package">
28 <title>Introduction to Aspell</title>
29
30 <para>
31 The <application>Aspell</application> package contains an interactive
32 spell checking program and the <application>Aspell</application>
33 libraries. <application>Aspell</application> can either be used as a
34 library or as an independent spell checker.
35 </para>
36
37 &lfs113_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&aspell-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&aspell-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &aspell-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &aspell-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &aspell-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &aspell-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <para>
75 You'll need to download at least one dictionary. The English dictionary
76 is given as an example below. Dictionaries in many other languages can be
77 found at <ulink url="&gnu-http;/aspell/dict"/>.
78 </para>
79
80 <itemizedlist spacing="compact">
81 <listitem>
82 <para>
83 Aspell English dictionary: <ulink url="&aspell-en-dict-url;"/>
84 </para>
85 </listitem>
86 </itemizedlist>
87
88 <bridgehead renderas="sect3">Aspell Dependencies</bridgehead>
89
90 <bridgehead renderas="sect4">Required</bridgehead>
91 <para role="required">
92 <xref linkend="which"/> (for the dictionaries)
93 </para>
94
95 <para condition="html" role="usernotes">
96 User Notes: <ulink url="&blfs-wiki;/aspell"/>
97 </para>
98 </sect2>
99
100 <sect2 role="installation">
101 <title>Installation of Aspell</title>
102
103 <para>
104 Install <application>Aspell</application> by running the following
105 commands:
106 </para>
107
108<screen><userinput>./configure --prefix=/usr &amp;&amp;
109make</userinput></screen>
110
111 <para>
112 This package does not come with a test suite.
113 </para>
114
115 <para>
116 Now, as the <systemitem class="username">root</systemitem> user:
117 </para>
118
119<screen role="root"><userinput>make install &amp;&amp;
120ln -svfn aspell-0.60 /usr/lib/aspell &amp;&amp;
121
122install -v -m755 -d /usr/share/doc/aspell-&aspell-version;/aspell{,-dev}.html &amp;&amp;
123
124install -v -m644 manual/aspell.html/* \
125 /usr/share/doc/aspell-&aspell-version;/aspell.html &amp;&amp;
126
127install -v -m644 manual/aspell-dev.html/* \
128 /usr/share/doc/aspell-&aspell-version;/aspell-dev.html</userinput></screen>
129
130 <para>
131 If you do not plan to install <application>Ispell</application>, then copy
132 the wrapper script <command>ispell</command>:
133 </para>
134
135<screen role="root"><userinput>install -v -m 755 scripts/ispell /usr/bin/</userinput></screen>
136
137 <para>
138 If you do not plan to install <application>Spell</application>, then copy
139 the wrapper script <command>spell</command>:
140 </para>
141
142<screen role="root"><userinput>install -v -m 755 scripts/spell /usr/bin/</userinput></screen>
143 </sect2>
144
145 <sect2 role="commands">
146 <title>Command Explanations</title>
147
148 <para>
149 <command>ln -svfn aspell-0.60 /usr/lib/aspell</command>: This command is
150 useful for configuration of other applications, such as
151 <xref linkend="enchant"/>.
152 </para>
153 </sect2>
154
155 <sect2 role="configuration">
156 <title>Configuring Aspell</title>
157
158 <sect3>
159 <title>Configuration Information</title>
160
161 <para>
162 After <application>Aspell</application> is installed, you must set up at
163 least one dictionary. Install the English dictionary by running the
164 following commands:
165 </para>
166
167<screen><userinput>tar xf ../&aspell-en-dict;.tar.bz2 &amp;&amp;
168cd &aspell-en-dict; &amp;&amp;
169
170./configure &amp;&amp;
171make</userinput></screen>
172
173 <para>
174 Now, as the <systemitem class="username">root</systemitem> user:
175 </para>
176
177<screen role="root"><userinput>make install</userinput></screen>
178
179 <para>
180 Other dictionaries can be installed with the same instructions.
181 </para>
182 </sect3>
183 </sect2>
184
185 <sect2 role="content">
186 <title>Contents</title>
187
188 <segmentedlist>
189 <segtitle>Installed Programs</segtitle>
190 <segtitle>Installed Libraries</segtitle>
191 <segtitle>Installed Directories</segtitle>
192
193 <seglistitem>
194 <seg>
195 aspell, aspell-import, precat, preunzip, prezip, prezip-bin,
196 pspell-config, run-with-aspell, word-list-compress and optionally,
197 ispell and spell.
198 </seg>
199 <seg>libaspell.so and libpspell.so</seg>
200 <seg>/usr/include/pspell and /usr/lib/aspell-0.60</seg>
201 </seglistitem>
202 </segmentedlist>
203
204 <variablelist>
205 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
206 <?dbfo list-presentation="list"?>
207 <?dbhtml list-presentation="table"?>
208
209 <varlistentry id="aspell-prog">
210 <term><command>aspell</command></term>
211 <listitem>
212 <para>
213 is a utility that can function as an <command>ispell -a</command>
214 replacement, as an independent spell checker, as a test utility to
215 test out <application>Aspell</application> features, and as a
216 utility for managing dictionaries
217 </para>
218 <indexterm zone="aspell aspell-prog">
219 <primary sortas="b-aspell">aspell</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="aspell-ispell">
225 <term><command>ispell</command></term>
226 <listitem>
227 <para>
228 is a wrapper around <command>aspell</command> to invoke it in
229 <command>ispell</command> compatible mode
230 </para>
231 <indexterm zone="aspell aspell-ispell">
232 <primary sortas="b-ispell">ispell</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 <varlistentry id="aspell-spell">
238 <term><command>spell</command></term>
239 <listitem>
240 <para>
241 is a wrapper around <command>aspell</command> to invoke it in
242 <command>spell</command> compatible mode
243 </para>
244 <indexterm zone="aspell aspell-spell">
245 <primary sortas="b-spell">spell</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 <varlistentry id="aspell-import">
251 <term><command>aspell-import</command></term>
252 <listitem>
253 <para>
254 imports old personal dictionaries into
255 <application>Aspell</application>
256 </para>
257 <indexterm zone="aspell aspell-import">
258 <primary sortas="b-aspell-import">aspell-import</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 <varlistentry id="precat">
264 <term><command>precat</command></term>
265 <listitem>
266 <para>
267 decompresses a <command>prezip</command>ped file to stdout
268 </para>
269 <indexterm zone="aspell precat">
270 <primary sortas="b-precat">precat</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="preunzip">
276 <term><command>preunzip</command></term>
277 <listitem>
278 <para>
279 decompresses a <command>prezip</command>ped file
280 </para>
281 <indexterm zone="aspell preunzip">
282 <primary sortas="b-preunzip">preunzip</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
286
287 <varlistentry id="prezip">
288 <term><command>prezip</command></term>
289 <listitem>
290 <para>
291 is a prefix delta compressor, used to compress sorted word lists or
292 other similar text files
293 </para>
294 <indexterm zone="aspell prezip">
295 <primary sortas="b-prezip">prezip</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 <varlistentry id="prezip-bin">
301 <term><command>prezip-bin</command></term>
302 <listitem>
303 <para>
304 is called by the various wrapper scripts to perform the actual
305 compressing and decompressing
306 </para>
307 <indexterm zone="aspell prezip-bin">
308 <primary sortas="b-prezip-bin">prezip-bin</primary>
309 </indexterm>
310 </listitem>
311 </varlistentry>
312
313 <varlistentry id="pspell-config">
314 <term><command>pspell-config</command></term>
315 <listitem>
316 <para>
317 displays information about the
318 <filename class="libraryfile">libpspell</filename> installation,
319 mostly for use in build scripts
320 </para>
321 <indexterm zone="aspell pspell-config">
322 <primary sortas="b-pspell-config">pspell-config</primary>
323 </indexterm>
324 </listitem>
325 </varlistentry>
326
327 <varlistentry id="run-with-aspell">
328 <term><command>run-with-aspell</command></term>
329 <listitem>
330 <para>
331 is a script to help use <application>Aspell</application> as an
332 <command>ispell</command> replacement
333 </para>
334 <indexterm zone="aspell run-with-aspell">
335 <primary sortas="b-run-with-aspell">run-with-aspell</primary>
336 </indexterm>
337 </listitem>
338 </varlistentry>
339
340 <varlistentry id="word-list-compress">
341 <term><command>word-list-compress</command></term>
342 <listitem>
343 <para>
344 compresses or decompresses sorted word lists for use with the
345 <application>Aspell</application> spell checker
346 </para>
347 <indexterm zone="aspell word-list-compress">
348 <primary sortas="b-word-list-compress">word-list-compress</primary>
349 </indexterm>
350 </listitem>
351 </varlistentry>
352
353 <varlistentry id="libaspell">
354 <term><filename class="libraryfile">libaspell.so</filename></term>
355 <listitem>
356 <para>
357 contains spell checking API functions
358 </para>
359 <indexterm zone="aspell libaspell">
360 <primary sortas="c-libaspell">libaspell.so</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
364
365 <varlistentry id="libpspell">
366 <term><filename class="libraryfile">libpspell.so</filename></term>
367 <listitem>
368 <para>
369 is an interface to the
370 <filename class="libraryfile">libaspell</filename> library. All the
371 spell checking functionality is now in
372 <filename class="libraryfile">libaspell</filename> but this library
373 is included for backward compatibility
374 </para>
375 <indexterm zone="aspell libpspell">
376 <primary sortas="c-libpspell">libpspell.so</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380 </variablelist>
381 </sect2>
382
383</sect1>
Note: See TracBrowser for help on using the repository browser.