source: pst/typesetting/tex.xml@ d260aaf4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d260aaf4 was d260aaf4, checked in by Randy McMurchy <randy@…>, 19 years ago

Separated root installation commands in packages already indexed (first pass)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3363 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.9 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5
6 <!ENTITY tex-download-http " ">
7 <!ENTITY tex-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src-&tex-version;.tar.gz">
8 <!ENTITY texmf-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-texmf-&tex-version;.tar.gz">
9 <!ENTITY texmfsrc-download-ftp "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-texmfsrc-&tex-version;.tar.gz">
10 <!ENTITY tex-size "64 MB">
11 <!ENTITY tex-optional-size "87 MB">
12 <!ENTITY tex-buildsize "344 MB">
13 <!ENTITY tex-optional-buildsize "415 MB">
14 <!ENTITY tex-time "1.82 SBU">
15]>
16
17<sect1 id="tex" xreflabel="TeX-&tex-version;">
18<sect1info>
19<othername>$LastChangedBy$</othername>
20<date>$Date$</date>
21</sect1info>
22<?dbhtml filename="tex.html"?>
23<title>TeX-&tex-version;</title>
24<indexterm zone="tex">
25<primary sortas="a-TeX">TeX</primary></indexterm>
26
27<sect2>
28<title>Introduction to <application>TeX</application></title>
29
30<para><application>TeX</application> is a typesetting package, able to create
31documents in a variety of formats. The optional <filename>texmfsrc</filename>
32<acronym>TAR</acronym> ball contains source code for packages that are
33contained in the <filename>texmf</filename> <acronym>TAR</acronym> ball,
34including the docstrip sources.</para>
35
36<sect3><title>Package information</title>
37<itemizedlist spacing='compact'>
38<listitem><para>Download (HTTP):
39<ulink url="&tex-download-http;"/></para></listitem>
40<listitem><para>Download (FTP):
41<ulink url="&tex-download-ftp;"/></para></listitem>
42<listitem><para>Download size:
43&tex-size; (&tex-optional-size; with optional tarball)</para></listitem>
44<listitem><para>Estimated disk space required:
45&tex-buildsize; (&tex-optional-buildsize; with optional tarball)</para>
46</listitem>
47<listitem><para>Estimated build time:
48&tex-time;</para></listitem></itemizedlist>
49</sect3>
50
51<sect3><title>Additional Downloads</title>
52<itemizedlist spacing='compact'>
53<listitem><para>Required macros and fonts:
54<ulink url="&texmf-download-ftp;"/></para></listitem>
55<listitem><para>Optional <filename>texmf</filename> sources:
56<ulink url="&texmfsrc-download-ftp;"/></para></listitem>
57<listitem><para>Required Patch: <ulink
58url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para></listitem>
59<listitem><para>Recommended Patch: <ulink
60url="&patch-root;/tetex-src-&tex-version;-remove_readlink-1.patch"/></para>
61</listitem>
62</itemizedlist></sect3>
63
64<sect3><title><application>TeX</application> dependencies</title>
65<sect4><title>Required</title>
66<para><xref linkend="ed"/></para>
67</sect4>
68
69<sect4><title>Optional</title>
70<para><xref linkend="libpng"/>,
71<xref linkend="x-installing"/>,
72<xref linkend="openssl"/>,
73<xref linkend="mysql"/>,
74<xref linkend="perl-modules"/>: Tk-&Perl-Tk-version;, <ulink
75url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">
76t1lib</ulink>
77and <ulink url="http://www.w3.org/Library/">libwww</ulink></para>
78</sect4>
79</sect3>
80
81</sect2>
82
83<sect2>
84<title>Installation of <application>TeX</application></title>
85
86<!--
87<para><application>TeX</application> is installed from the source directory
88(usually <filename class="directory">/usr/src</filename>) and untarring
89instructions are included below instead of the usual assumption that you
90have already untarred the package. The source directory should contain
91the two required packages and the optional package, if desired.</para>
92-->
93
94<para>Before building <application>TeX</application>, the macros and fonts
95package (<filename>texmf</filename> tarball) must be installed. Install the
96macros and fonts using the following commands as the root user:</para>
97
98<screen><userinput role='root'><command>install -v -d -m755 /usr/share/texmf &amp;&amp;
99gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
100 | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
101
102<para>If the optional <filename>texmf</filename> source code
103<acronym>TAR</acronym> ball was downloaded, untar it now as the root
104user:</para>
105
106<screen><userinput role='root'><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
107 | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
108
109<para>Install <application>TeX</application> by running the following
110commands:</para>
111
112<screen><userinput><command>patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch &amp;&amp;
113patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &amp;&amp;
114./configure --with-x=no --prefix=/usr \
115 --without-texinfo --with-system-ncurses --with-system-zlib \
116 --exec-prefix=/usr --bindir=/usr/bin &amp;&amp;
117make all</command></userinput></screen>
118
119<para>Now, as the root user:</para>
120
121<screen><userinput role='root'><command>make install &amp;&amp;
122texconfig dvips paper letter &amp;&amp;
123texconfig font rw</command></userinput></screen>
124
125<note><para>The paper size may be changed to a4, as is used in most
126countries.</para></note>
127
128</sect2>
129
130<sect2>
131<title>Installation command explanations</title>
132
133<para><option>--with-x=no</option>: This switch will avoid any
134<application>X</application> Window dependencies.
135<application>TeX</application> can be compiled with
136<application>X</application> Window support, notably for
137<command>xdvi</command>. If this is desired, remove this
138configure option.</para>
139
140<para><parameter>--exec-prefix=/usr --bindir=/usr/bin</parameter>: These
141switches ensure that <application>TeX</application> binaries are installed in
142<filename class="directory">/usr/bin</filename>.</para>
143
144<para><parameter>--without-texinfo</parameter>: A default
145<acronym>LFS</acronym> installation already has the
146<application>Texinfo</application> package installed; this switch will avoid
147overwriting it with the included <application>Texinfo</application>
148package.</para>
149
150<para><parameter>--with-system-ncurses</parameter>: This switch specifies
151using the already installed <filename class="libraryfile">libncurses</filename>
152library.</para>
153
154<para><parameter>--with-system-zlib</parameter>: <acronym>LFS</acronym> systems
155starting with version 4.0 have <application>Zlib</application> installed as
156part of the base operating system; this switch avoids building it here.</para>
157
158<para><command>texconfig dvips paper letter</command>: This command sets the
159default paper size for <application>TeX</application>.</para>
160
161<para><command>texconfig font rw</command>: This command specifies writable
162fonts.</para>
163
164</sect2>
165
166<sect2>
167<title>Contents</title>
168
169<segmentedlist>
170<segtitle>Installed Programs</segtitle>
171<segtitle>Installed Library</segtitle>
172<segtitle>Installed Directory</segtitle>
173<seglistitem>
174<seg>101 separate binaries and scripts along with 37 symlinks to these
175programs.</seg>
176<seg>libkpathsea.a</seg>
177<seg>/usr/share/texmf</seg>
178</seglistitem>
179</segmentedlist>
180
181<variablelist>
182<bridgehead renderas="sect3">Short Descriptions</bridgehead>
183<?dbfo list-presentation="list"?>
184
185<varlistentry id="tex-programs">
186<term><command>TeX programs</command></term>
187<listitem><para>included in the <application>TeX</application> package are too
188numerous to individually list. Please refer to
189<ulink url="file:///usr/share/texmf/doc/index.html"/> for details, as well as
190a tour of the expansive <application>TeX</application> documentation.</para>
191<indexterm zone="tex tex-programs">
192<primary sortas="b-TeX-programs">TeX programs</primary></indexterm>
193</listitem>
194</varlistentry>
195
196<varlistentry id="libkpathsea">
197<term><filename class='libraryfile'>libkpathsea.a</filename></term>
198<listitem><para>contains functions used by <application>TeX</application>
199for searching and cataloging path names.</para>
200<indexterm zone="tex libkpathsea">
201<primary sortas="c-libkpathsea">libkpathsea.a</primary></indexterm>
202</listitem>
203</varlistentry>
204</variablelist>
205
206</sect2>
207
208</sect1>
Note: See TracBrowser for help on using the repository browser.