source: pst/typesetting/texlive.xml@ 5ab4306

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 5ab4306 was 5ab4306, checked in by Randy McMurchy <randy@…>, 13 years ago

Modified the TeX Live instructions so that the symlinks installed in /usr/bin are recreated properly

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

  • Property mode set to 100644
File size: 12.4 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 texlive-source-download-http " ">
8 <!ENTITY texlive-source-download-ftp "ftp://tug.org/texlive/historic/2010/texlive-&texlive-version;-source.tar.xz">
9 <!ENTITY texlive-source-md5sum "156fa34c56acb901fdc687b8d9860f1f">
10 <!ENTITY texlive-source-size "32 MB">
11
12 <!ENTITY texlive-texmf-download-http " ">
13 <!ENTITY texlive-texmf-download-ftp "ftp://tug.org/texlive/historic/2010/texlive-&texlive-version;-texmf.tar.xz">
14 <!ENTITY texlive-texmf-md5sum "12dec3a323c4eb75b98a3160c62dc865">
15 <!ENTITY texlive-texmf-size "1.1 GB">
16
17 <!ENTITY texlive-buildsize "~5 GB">
18 <!ENTITY texlive-time "10 SBU">
19]>
20
21<sect1 id="texlive" xreflabel="TeX Live-&texlive-version;">
22 <?dbhtml filename="texlive.html"?>
23
24 <sect1info>
25 <othername>$LastChangedBy$</othername>
26 <date>$Date$</date>
27 </sect1info>
28
29 <title>TeX Live-&texlive-version;</title>
30
31 <indexterm zone="texlive">
32 <primary sortas="a-texlive">texlive</primary>
33 </indexterm>
34
35 <sect2 role="package">
36 <title>Introduction to TeX Live</title>
37
38 <para>The <application>TeX Live</application> package is the forked
39 successor of the <application>teTeX</application> TeX document production
40 system invented by Donald Knuth. Both packages have been maintained and
41 supported through the <ulink url="http://www.tug.org/">TeX Users
42 Group</ulink>, although <application>teTeX</application> has been
43 unmaintained for several years now.</para>
44
45 <para>The <command>texi2html</command> Perl script previously shipped with
46 the <application>teTeX</application> package is no longer shipped. You can
47 use the <command>makeinfo</command> program as a replacement, or install
48 the stand-alone
49 <ulink url="http://www.nongnu.org/texi2html/">Texi2HTML</ulink>
50 package.</para>
51
52 <bridgehead renderas="sect3">Package Information</bridgehead>
53 <itemizedlist spacing="compact">
54 <listitem>
55 <para>Download (HTTP): <ulink url="&texlive-source-download-http;"/></para>
56 </listitem>
57 <listitem>
58 <para>Download (FTP): <ulink url="&texlive-source-download-ftp;"/></para>
59 </listitem>
60 <listitem>
61 <para>Download MD5 sum: &texlive-source-md5sum;</para>
62 </listitem>
63 <listitem>
64 <para>Download size: &texlive-source-size;</para>
65 </listitem>
66 <listitem>
67 <para>Estimated disk space required: &texlive-buildsize;</para>
68 </listitem>
69 <listitem>
70 <para>Estimated build time: &texlive-time;</para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
75 <itemizedlist spacing="compact">
76 <listitem>
77 <para>Required TeX MetaFonts and additional components:
78 <ulink url="&texlive-texmf-download-ftp;"/></para>
79 </listitem>
80 <listitem>
81 <para>Download MD5 sum: &texlive-texmf-md5sum;</para>
82 </listitem>
83 <listitem>
84 <para>Download size: &texlive-texmf-size;</para>
85 </listitem>
86 </itemizedlist>
87
88 <bridgehead renderas="sect3">TeX Live Dependencies</bridgehead>
89
90 <bridgehead renderas="sect4">Required</bridgehead>
91 <para role="required"><xref linkend="xz-utils"/></para>
92
93 <bridgehead renderas="sect4">Optional</bridgehead>
94 <para role="optional"><xref linkend="gs"/>,
95 <xref linkend="poppler"/>,
96 <xref linkend="freetype2"/>,
97 <xref linkend="libpng"/>,
98 <xref linkend="xorg7"/>,
99 <xref linkend="recode"/>,
100 <xref linkend="icu"/>,
101 <ulink url="http://www.libgd.org/Main_Page">GD</ulink>,
102 <ulink url="http://www.sfr-fresh.com/linux/misc/t1lib">t1lib</ulink>,
103 <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
104 <ulink url="http://www.gnu.org/software/clisp/">CLISP</ulink>,
105 <ulink url="http://www.lua.org/">Lua</ulink>,
106 <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=TECkitDownloads">TECkit</ulink>,
107 and
108 <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;cat_id=RenderingGraphite">
109 Graphite</ulink></para>
110
111 <para condition="html" role="usernotes">User Notes:
112 <ulink url="&blfs-wiki;/texlive"/></para>
113
114 </sect2>
115
116 <sect2 role="installation">
117 <title>Installation of TeX Live</title>
118
119 <para>Before building <application>TeX Live</application>, the macros and
120 fonts package (<filename>texmf</filename> tarball) must be installed and
121 two temporary symbolic links need to be created. Install the macros, fonts
122 and symlinks using the following commands as the
123 <systemitem class="username">root</systemitem> user:</para>
124
125<screen role="root"><userinput>tar xf ../texlive-&texlive-version;-texmf.tar.xz \
126 -C /usr/share --strip-components=1 &amp;&amp;
127
128ln -v -s share/texmf /usr &amp;&amp;
129ln -v -s share/texmf-dist /usr</userinput></screen>
130
131 <para>Install <application>TeX Live</application> by running the following
132 commands:</para>
133
134<screen><userinput>sed -i -e 's|PARENT/\.\./texmf-local|PARENT/texmf-local|' \
135 -e 's|\$TEXMFVAR/fonts|/var/lib/livetex/fonts|' \
136 texk/kpathsea/texmf.cnf &amp;&amp;
137
138./configure --prefix=/usr \
139 --disable-native-texlive-build \
140 --enable-shared \
141 --without-luatex \
142 --enable-mktextex-default \
143 --with-banner-add=" - BLFS" &amp;&amp;
144
145make</userinput></screen>
146
147 <para>To test the results, issue: <command>make check</command>.</para>
148
149 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
150
151<screen role="root"><userinput>make install &amp;&amp;
152
153rm -v /usr/texmf{,-dist} &amp;&amp;
154install -v -m1777 -d /var/lib/livetex/fonts &amp;&amp;
155install -v -m755 -d /usr/share/texmf-{config,var,local} &amp;&amp;
156install -v -m755 -d /usr/share/doc/texlive-&texlive-version; &amp;&amp;
157ln -s -v ../../texmf/doc \
158 /usr/share/doc/texlive-&texlive-version;/texmf &amp;&amp;
159ln -s -v ../../texmf-dist/doc \
160 /usr/share/doc/texlive-&texlive-version;/texmf-dist &amp;&amp;
161
162for FN in `find /usr/bin -type l`; do
163 if [ `readlink $FN | grep "\.\./texmf"` ]; then
164 ln -svf `readlink $FN | sed 's|\.\./texmf|../share/texmf|'` $FN
165 fi
166done &amp;&amp;
167unset FN</userinput></screen>
168
169 </sect2>
170
171 <sect2 role="commands">
172 <title>Command Explanations</title>
173
174 <para><command>ln -v -s share/texmf /usr</command> &amp;
175 <command>ln -v -s share/texmf-dist /usr</command> &amp;
176 <command>rm -v /usr/texmf{,-dist}</command>: These commands are used to
177 create and then remove temporary symbolic links so that files are not
178 installed in
179 <filename class="directory">/usr/texmf{,-dist}</filename></para>
180
181 <para><command>sed -i -e '...' -e '...' texk/kpathsea/texmf.cnf</command>:
182 This command is used to modify the default so that local items are
183 installed in <filename class="directory">/usr/share/texmf-local</filename>
184 instead of <filename class="directory">/usr/texmf-local</filename>. It also
185 changes the path for user-installed fonts to the run-time variable location
186 <filename class="directory">/var/lib/livetex/fonts</filename>.</para>
187
188 <para><parameter>--disable-native-texlive-build</parameter>: This parameter
189 is required if the build is not for a binary distribution.</para>
190
191 <para><parameter>--without-luatex</parameter>: This parameter is required
192 if the <application>Lua</application> programming language is not
193 installed. Remove this parameter if <application>Lua</application> is
194 installed.</para>
195
196 <para><parameter>--enable-mktextex-default</parameter>: This parameter
197 is used so that TeX will automatically invoke mktextex if TeX source is
198 missing.</para>
199
200 <para><parameter>--with-banner-add=" - BLFS"</parameter>: This parameter
201 is used so that the build can be easily recognized as a non-TUG binary
202 build.</para>
203
204 <para><option>--with-system-...</option> &amp;
205 <option>--with-libgs-includes=/usr/include/ghostscript</option>: These
206 options are required to use any system-installed libraries. Run
207 <command>./configure --help</command> to see a full list of available
208 options.</para>
209
210 <para><command>for FN in `...`; do ...; done</command>This command is
211 used to change the installed symbolic links to point to scripts installed
212 in <filename class="directory">/usr/share/texmf</filename> instead of
213 <filename class="directory">/usr/texmf</filename>.</para>
214
215 </sect2>
216
217 <sect2 role="configuration">
218 <title>Configuring TeX Live</title>
219
220 <sect3 id="texlive-config">
221 <title>Config Files</title>
222 <para>Several <filename class="extension">.cnf</filename> files are used
223 in a complete TeX system. Typically these files are not directly modified
224 (unless you know your way around a TeX system very well), but instead
225 TeX programs are used to make the modifications.</para>
226
227 </sect3>
228
229 <sect3><title>Configuration Information</title>
230
231 <para>Issue the following commands as the
232 <systemitem class="username">root</systemitem> user to configure and
233 finalize the TeX installation:</para>
234
235<screen role="root"><userinput>mktexlsr /usr/share/texmf \
236 /usr/share/texmf-config \
237 /usr/share/texmf-dist \
238 /usr/share/texmf-var \
239 /usr/share/texmf-local \
240 /var/lib/livetex/fonts &amp;&amp;
241
242texconfig-sys font rw &amp;&amp;
243texconfig-sys paper letter &amp;&amp;
244fmtutil-sys --all &amp;&amp;
245updmap-sys &amp;&amp;
246
247mktexlsr /usr/share/texmf \
248 /usr/share/texmf-config \
249 /usr/share/texmf-dist \
250 /usr/share/texmf-var \
251 /usr/share/texmf-local \
252 /var/lib/livetex/fonts &amp;&amp;
253
254texlinks &amp;&amp;
255
256mktexlsr /usr/share/texmf \
257 /usr/share/texmf-config \
258 /usr/share/texmf-dist \
259 /usr/share/texmf-var \
260 /usr/share/texmf-local \
261 /var/lib/livetex/fonts</userinput></screen>
262
263 </sect3>
264
265 </sect2>
266
267 <sect2 role="content">
268 <title>Contents</title>
269
270 <segmentedlist>
271 <segtitle>Installed Programs</segtitle>
272 <segtitle>Installed Libraries</segtitle>
273 <segtitle>Installed Directories</segtitle>
274
275 <seglistitem>
276 <seg>Over 300 binaries and symlinks to scripts</seg>
277 <seg>libkpathsea.{so,a} and libptexenc.{so,a}</seg>
278 <seg>/usr/include/kpathsea,
279 /usr/include/ptexenc,
280 /usr/share/doc/texlive-&texlive-version;,
281 /usr/share/texmf-config,
282 /usr/share/texmf-dist,
283 /usr/share/texmf-local,
284 /usr/share/texmf-var,
285 /use/share/texmf, and
286 /var/lib/livetex</seg>
287 </seglistitem>
288 </segmentedlist>
289
290 <variablelist>
291 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
292 <?dbfo list-presentation="list"?>
293 <?dbhtml list-presentation="table"?>
294
295 <varlistentry id="texlive-programs">
296 <term><command>TeX programs</command></term>
297 <listitem>
298 <para>included in the <application>TeX Live</application> package are
299 too numerous to individually list. Please refer to the individual
300 program man pages and
301 <ulink url="file:///usr/share/texmf/doc/texlive/index.html"/> for
302 details, as well as a tour of the expansive
303 <application>TeX Live</application> documentation.</para>
304 <indexterm zone="texlive texlive-programs">
305 <primary sortas="b-texlive-programs">TeX Live programs</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="libkpathseaTL">
311 <term><filename class='libraryfile'>libkpathsea.{so,a}</filename></term>
312 <listitem>
313 <para>contains the functions used by the TeX programs to resolve
314 and catalog pathnames used in the Tex installation.</para>
315 <indexterm zone="texlive libkpathseaTL">
316 <primary sortas="c-libkpathseaTL">libkpathsea.{so,a}</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 </variablelist>
322
323 </sect2>
324
325</sect1>
Note: See TracBrowser for help on using the repository browser.