1 <sect1 id="ch-system-texinfo" xreflabel="Texinfo">
2 <title>Installing Texinfo-&texinfo-version;</title>
3 <?dbhtml filename="texinfo.html" dir="chapter06"?>
5 <para>The Texinfo package contains programs for reading, writing, and
6 converting Info documents.</para>
8 <screen>&buildtime; &texinfo-time;
9 &diskspace; &texinfo-compsize;</screen>
14 <sect2><title> </title><para> </para></sect2>
17 <title>Installation of Texinfo</title>
19 <para>Prepare Texinfo for compilation:</para>
21 <screen><userinput>./configure --prefix=/usr</userinput></screen>
23 <para>Compile the package:</para>
25 <screen><userinput>make</userinput></screen>
27 <para>This package has a test suite available which can perform a number of
28 checks to ensure it built correctly. Should you choose to run it, the
29 following command will do so:</para>
31 <screen><userinput>make check</userinput></screen>
33 <para>Install the package:</para>
35 <screen><userinput>make install</userinput></screen>
37 <para>And optionally install the components belonging in a TeX installation:</para>
39 <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
41 <para>The meaning of the make parameter:</para>
44 <listitem><para><userinput>TEXMF=/usr/share/texmf</userinput>: The TEXMF
45 makefile variable holds the location of the root of your TeX tree if, for
46 example, you plan to install a TeX package later on.</para></listitem>
49 <para>The Info documentation system uses a plain text file to hold its list of
50 menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
51 Unfortunately, due to occasional problems in the Makefiles of various packages,
52 it can sometimes get out of step with the Info manuals actually installed on the
53 system. If ever you need to recreate the
54 <filename>/usr/share/info/dir</filename> file, the following optional commands
55 will accomplish the task:</para>
57 <screen><userinput>cd /usr/share/info
60 do install-info $f dir 2>/dev/null
61 done</userinput></screen>
65 &aa-texinfo-shortdesc;