texinfo.xml 2.1 KB

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