source: general/genlib/aspell.xml@ 6c7614f7

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

aspell: show how to install the English dictionary

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