source: pst/typesetting/texlive-pass1.xml@ 0bda060

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind 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 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 0bda060 was eb38c8a, checked in by Ken Moffat <ken@…>, 10 years ago

Correct the date in the changelog, add texmf to allow texlive to be installed without the binary installer.

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

  • Property mode set to 100644
File size: 12.5 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-pass1-download-http " ">
8 <!ENTITY texlive-pass1-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
9 <!ENTITY texlive-pass1-md5sum "09ee265ff51637827559affc7304078c">
10 <!ENTITY texlive-pass1-size "40 MB">
11
12 <!-- when measured, 900MB for pass 1 itself, 3.6 GB for texmf -->
13 <!ENTITY texlive-pass1-buildsize "3.6 GB including the additional download">
14 <!ENTITY texlive-pass1-time "8.2 SBU including the additional download">
15
16 <!ENTITY texlive-texmf-download-http " ">
17 <!ENTITY texlive-texmf-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-texmf.tar.xz">
18 <!ENTITY texlive-texmf-md5sum "645a6f1d3a0ef4a9c279dae02588eab7">
19 <!ENTITY texlive-texmf-size "1.7 GB">
20
21]>
22
23
24<sect1 id="texpass1" xreflabel="texlive-&texlive-version;-source pass 1">
25 <?dbhtml filename="texlive-pass1.html"?>
26
27 <sect1info>
28 <othername>$LastChangedBy$</othername>
29 <date>$Date$</date>
30 </sect1info>
31
32 <title>texlive-&texlive-version;-source pass 1</title>
33
34 <indexterm zone="texpass1">
35 <primary sortas="a-texpass1">texlive-pass-1</primary>
36 </indexterm>
37
38 <sect2 role="package">
39 <title>Introduction to TeX Live from source, pass 1</title>
40
41 <para>Most of TeX Live can be built from source without difficulty.
42 However, <application>xindy</application> (for indexing) needs working
43 versions of <command>latex</command> and <command>pdflatex</command>
44 when configure is run, and the testsuite for <command>asy</command>
45 (for vector graphics) will fail if TeX has not already been installed.
46 </para>
47
48 <para>In addition, it is necessary to create various symlinks at the end of
49 this install.</para>
50
51 <para>We can later rebuild texlive in <xref linkend="texlive"/> to include
52 xindy. There we will install xindy and also build and install asy.</para>
53
54 &lfs76_checked;
55
56 <bridgehead renderas="sect3">Package Information</bridgehead>
57 <itemizedlist spacing="compact">
58 <listitem>
59 <para>Download (HTTP): <ulink url="&texlive-pass1-download-http;"/></para>
60 </listitem>
61 <listitem>
62 <para>Download (FTP): <ulink url="&texlive-pass1-download-ftp;"/></para>
63 </listitem>
64 <listitem>
65 <para>Download MD5 sum: &texlive-pass1-md5sum;</para>
66 </listitem>
67 <listitem>
68 <para>Download size: &texlive-pass1-size;</para>
69 </listitem>
70 <listitem>
71 <para>Estimated disk space required: &texlive-pass1-buildsize;</para>
72 </listitem>
73 <listitem>
74 <para>Estimated build time: &texlive-pass1-time;</para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">Required Additional Download</bridgehead>
79
80 <para>Much of the texlive environment (including scripts, documentation,
81 fonts and various other files) is not part of the source tarball. You must
82 download it separately. This will give you all of the additional files
83 which are provided by a full install of the binary version, there is no
84 realistic way to restrict which parts get installed.</para>
85
86 <para>
87 Because of the size of this package, it is unlikely to be mirrored by
88 BLFS mirrors. In case of difficulty, go to http://www.ctan.org/mirrors/
89 to find a more-accessible mirror.
90 </para>
91
92 <itemizedlist spacing="compact">
93 <title>Standard Fonts</title>
94 <listitem>
95 <para>Download (FTP): <ulink url="&texlive-texmf-download-ftp;"/></para>
96 </listitem>
97 <listitem>
98 <para>Download MD5 sum: &texlive-texmf-md5sum;</para>
99 </listitem>
100 <listitem>
101 <para>Download size: &texlive-texmf-size;</para>
102 </listitem>
103 </itemizedlist>
104
105 <bridgehead renderas="sect3">TeX Live from source pass 1 Dependencies</bridgehead>
106
107 <bridgehead renderas="sect4">Recommended</bridgehead>
108 <para role="recommended">
109 <xref linkend="x-window-system"/>
110 </para>
111 <para role="recommended">
112 The source ships with its own versions of <emphasis>many</emphasis>
113 libraries, and will use them unless it is forced to use the system
114 versions. The following are recommended so that the system version
115 will be used:
116 <xref linkend="fontconfig"/>,
117 <xref linkend="freetype2"/>,
118 <xref linkend="gc"/>,
119 <xref linkend="graphite2"/>,
120 <xref linkend="harfbuzz"/> (linked to graphite2),
121 <xref linkend="icu"/>,
122 <xref linkend="libpaper"/>,
123 <xref linkend="libpng"/>,
124 <xref linkend="poppler"/>
125 </para>
126
127 <bridgehead renderas="sect4">Optional</bridgehead>
128 <para role="optional">
129 The source ships with its own versions of several libraries which are either
130 not under active development, or only used for limited functionality. If
131 you install these, as with some other optional dependencies in this book you
132 will need to tell <command>configure</command> to use the system versions.
133 <ulink url="http://libgd.bitbucket.org">GD</ulink>,
134 <ulink url="http://fossies.org/linux/misc/t1lib-5.1.2.tar.gz/">t1lib</ulink>,
135 <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
136 <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=TECkitDownloads">TECkit</ulink>
137 </para>
138
139 <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
140 <para role="recommended">
141 Some scripts will use
142 <xref linkend="python2"/> or <xref linkend="ruby"/>.
143 </para>
144
145 <para condition="html" role="usernotes">User Notes:
146 <ulink url="&blfs-wiki;/texlive-pass1"/></para>
147
148 </sect2>
149
150 <sect2 role="installation">
151 <title>Installation of TeX Live, pass 1</title>
152
153 <para>
154 Install TeX Live pass 1 by running the following commands:
155 </para>
156
157<screen role="root"><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
158mkdir texlive-build &amp;&amp;
159cd texlive-build &amp;&amp;
160
161../configure \
162 --prefix=/opt/texlive/&texlive-year; \
163 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
164 --datarootdir=/opt/texlive/&texlive-year; \
165 --includedir=/usr/include \
166 --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
167 --libdir=/usr/lib \
168 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
169 --disable-native-texlive-build \
170 --disable-static --enable-shared \
171 --with-system-cairo \
172 --with-system-fontconfig \
173 --with-system-freetype2 \
174 --with-system-graphite2 \
175 --with-system-harfbuzz \
176 --with-system-icu \
177 --with-system-libgs \
178 --with-system-libpng \
179 --with-system-pixman \
180 --with-system-poppler \
181 --with-system-xpdf \
182 --with-system-zlib \
183 --with-banner-add=" - BLFS" &amp;&amp;
184unset TEXARCH &amp;&amp;
185
186make</userinput></screen>
187
188 <para>To test the results, issue: <command>make -k check</command>
189 One test in each of web2c, dvipng and ttf2pk2 will SKIP because kpathsea
190 has not yet been installed.</para>
191
192 <para>Now, as the <systemitem class="username">root</systemitem>
193 user:</para>
194
195<screen><userinput role="root">make install &amp;&amp;
196make texlinks</userinput></screen>
197
198 <para>And now, install the additional files as the
199 <systemitem class="username">root</systemitem> user:</para>
200
201<screen><userinput role="root">mkdir -pv /opt/texlive/&texlive-year; &amp;&amp;
202tar -xf texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</userinput></screen>
203
204 <para>Now proceed to <xref linkend="tex-path"/>.</para>
205
206 </sect2>
207
208 <sect2 role="commands">
209 <title>Command Explanations</title>
210
211 <para>
212 <parameter>--prefix=, --bindir=, --datarootdir=, --infodir=, --mandir= ...
213 </parameter>: these switches ensure that the files installed from source
214 will overwrite the corresponding files previously installed by
215 <application>install-tl</application>.
216 </para>
217
218 <para>
219 <parameter>--includedir=, --libdir= ...</parameter> : these switches ensure
220 that the libraries will be found at runtime, and that programs can be
221 compiled against them.
222 </para>
223
224 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
225 href="../../xincludes/static-libraries.xml"/>
226
227 <para>
228 <parameter>--enable-shared</parameter>: Create shared versions of
229 <filename class="libraryfile">libkpathsea</filename> and
230 <filename class="libraryfile">libptexenc</filename>.
231 </para>
232
233 <para>
234 <parameter>--with-system-...</parameter>: Unless this parameter is used,
235 the included versions of these libraries will be statically compiled
236 into the programs which need them. If you decided not to install a
237 recommended library, omit the corresponding switches.
238 </para>
239
240 <para>
241 <parameter>--with-system-xpdf</parameter>: Uniquely, this parameter has
242 a non-standard meaning, it tells <command>configure</command> to use the
243 system-installed <application>poppler</application> headers and library.
244 Again, omit this if you have not installed
245 <application>poppler</application>.
246 </para>
247
248 <para>
249 <option>--without-x</option>: use this if you do not have Xorg installed.
250 </para>
251
252 <para>
253 <parameter>make texlinks</parameter> : this runs the texlinks.sh script
254 to create (or recreate) symbolic links from formats to engines. In
255 practice, several of the targets such as <command>xetex</command> are now
256 separate binaries and for these it will report "file already exists".
257 </para>
258 <para>
259 <parameter>tar -xf texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</parameter>:
260 the tarball contains the files for the texmf-dist directory, and because
261 of its size we do not want to waste time and space untarring it and then
262 copying the files.
263 </para>
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, libptexenc.so</seg>
278 <seg>/opt/texlive/&texlive-year;/bin, /opt/texlive/&texlive-year;/texmf-dist,
279 /usr/include/kpathsea, /usr/include/ptexenc</seg>
280 </seglistitem>
281 </segmentedlist>
282
283 <variablelist>
284 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
285 <?dbfo list-presentation="list"?>
286 <?dbhtml list-presentation="table"?>
287
288 <varlistentry id="texpass1-programs">
289 <term><command>TeX&nbsp;programs</command></term>
290 <listitem>
291 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
292 href="../../xincludes/texprogs.xml"/>
293 <indexterm zone="texpass1 texpass1-programs">
294 <primary sortas="b-texpass1-programs">TeX Live programs</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="libkpathsea-texpass1">
300 <term><filename class="libraryfile">libkpathsea.so</filename></term>
301 <listitem>
302 <para>
303 (kpathsearch) exists to look up a file in a list of directories.
304 </para>
305 <indexterm zone="texpass1 libkpathsea">
306 <primary sortas="c-libkpathsea">libkpathsea.so</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="libptexenc-texpass1">
312 <term><filename class="libraryfile">libptexenc.so</filename></term>
313 <listitem>
314 <para>
315 is a library for Japanese pTeX (publishing TeX).
316 </para>
317 <indexterm zone="texpass1 libptexenc">
318 <primary sortas="c-libptexenc">libptexenc.so</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322 </variablelist>
323
324 </sect2>
325
326</sect1>
Note: See TracBrowser for help on using the repository browser.