source: pst/typesetting/texlive.xml@ 3f31914

10.0 10.1 11.0 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus nosym perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 3f31914 was 3f31914, checked in by Ken Moffat <ken@…>, 6 years ago

Move setting the path for texlive to the beginning of the chapter. This will mean that the fixups needed to get the 2015 source to work will not need to specify the PATH to fmtutil-sys and mtxrun, and is consistent with other packages where we use /opt.

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

  • Property mode set to 100644
File size: 11.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-download-http " ">
8 <!ENTITY texlive-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
9 <!ENTITY texlive-md5sum "09ee265ff51637827559affc7304078c">
10 <!ENTITY texlive-size "40 MB">
11
12 <!ENTITY texlive-buildsize "3.6 GB including the additional download">
13 <!ENTITY texlive-time "8.2 SBU including the additional download">
14
15 <!ENTITY texlive-texmf-download-http " ">
16 <!ENTITY texlive-texmf-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-texmf.tar.xz">
17 <!ENTITY texlive-texmf-md5sum "645a6f1d3a0ef4a9c279dae02588eab7">
18 <!ENTITY texlive-texmf-size "1.7 GB">
19
20]>
21
22
23<sect1 id="texlive" xreflabel="texlive-&texlive-version;">
24 <?dbhtml filename="texlive.html"?>
25
26 <sect1info>
27 <othername>$LastChangedBy$</othername>
28 <date>$Date$</date>
29 </sect1info>
30
31 <title>texlive-&texlive-version;-source</title>
32
33 <indexterm zone="texlive">
34 <primary sortas="a-texlive">texlive</primary>
35 </indexterm>
36
37 <sect2 role="package">
38 <title>Introduction to TeX Live from source</title>
39
40 <para>Most of TeX Live can be built from source without a pre-existing
41 installation, but <application>xindy</application> (for indexing) needs
42 working versions of <command>latex</command> and <command>pdflatex</command>
43 when configure is run, and the testsuite and install for
44 <command>asy</command> (for vector graphics) will fail if TeX has not
45 already been installed. Additionally, <application>biber</application> is
46 not provided within the <application>texlive</application> source.</para>
47
48 <para>All of those packages are dealt with on their own pages and can be
49 built after installing this package and proceeding to
50 <xref linkend="tex-path"/>.</para>
51
52 &lfs77_checked; &gcc5_checked;
53
54 <bridgehead renderas="sect3">Package Information</bridgehead>
55 <itemizedlist spacing="compact">
56 <listitem>
57 <para>Download (HTTP): <ulink url="&texlive-download-http;"/></para>
58 </listitem>
59 <listitem>
60 <para>Download (FTP): <ulink url="&texlive-download-ftp;"/></para>
61 </listitem>
62 <listitem>
63 <para>Download MD5 sum: &texlive-md5sum;</para>
64 </listitem>
65 <listitem>
66 <para>Download size: &texlive-size;</para>
67 </listitem>
68 <listitem>
69 <para>Estimated disk space required: &texlive-buildsize;</para>
70 </listitem>
71 <listitem>
72 <para>Estimated build time: &texlive-time;</para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Required Additional Download</bridgehead>
77
78 <para>Much of the texlive environment (including scripts, documentation,
79 fonts and various other files) is not part of the source tarball. You must
80 download it separately. This will give you all of the additional files
81 which are provided by a full install of the binary version, there is no
82 realistic way to restrict which parts get installed.</para>
83
84 <para>
85 Because of the size of this package, it is unlikely to be mirrored by
86 BLFS mirrors. In case of difficulty, go to http://www.ctan.org/mirrors/
87 to find a more-accessible mirror.
88 </para>
89
90 <itemizedlist spacing="compact">
91 <listitem>
92 <para>Download (HTTP): <ulink url="&texlive-texmf-download-http;"/></para>
93 </listitem>
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 Dependencies</bridgehead>
106
107 <bridgehead renderas="sect4">Recommended</bridgehead>
108 <para role="recommended">
109 <xref linkend="gs"/> (for dvisvgm - used by asymptote which provides a
110 mathematical coordinate-based framework for technical drawing),
111 <xref linkend="x-window-system"/>
112 </para>
113
114 <!-- text for recommended libraries -->
115 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
116 href="../../xincludes/texrecommendlibs.xml"/>
117
118 <bridgehead renderas="sect4">Optional</bridgehead>
119 <!-- text for optional deps -->
120 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
121 href="../../xincludes/texoptional.xml"/>
122
123 <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
124 <!-- text for runtime deps, shared with tl-installer -->
125 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
126 href="../../xincludes/texruntime.xml"/>
127
128 <para condition="html" role="usernotes">User Notes:
129 <ulink url="&blfs-wiki;/texlive"/></para>
130
131 </sect2>
132
133 <sect2 role="installation">
134 <title>Installation of TeX Live</title>
135
136 <para>
137 Install TeX Live by running the following commands:
138 </para>
139
140<!-- the configure switches should be identical to those in the
141 first part of texlive itself -->
142<screen><userinput>TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
143mkdir texlive-build &amp;&amp;
144cd texlive-build &amp;&amp;
145
146../configure \
147 --prefix=/opt/texlive/&texlive-year; \
148 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
149 --datarootdir=/opt/texlive/&texlive-year; \
150 --includedir=/usr/include \
151 --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
152 --libdir=/usr/lib \
153 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
154 --disable-native-texlive-build \
155 --disable-static --enable-shared \
156 --with-system-cairo \
157 --with-system-fontconfig \
158 --with-system-freetype2 \
159 --with-system-graphite2 \
160 --with-system-harfbuzz \
161 --with-system-icu \
162 --with-system-libgs \
163 --with-system-libpaper \
164 --with-system-libpng \
165 --with-system-pixman \
166 --with-system-poppler \
167 --with-system-xpdf \
168 --with-system-zlib \
169 --with-banner-add=" - BLFS" &amp;&amp;
170unset TEXARCH &amp;&amp;
171
172make</userinput></screen>
173
174 <para>To test the results, issue: <command>make -k check</command>
175 One test in each of web2c, dvipng and ttf2pk2 will SKIP because kpathsea
176 has not yet been installed.</para>
177
178 <para>Now, as the <systemitem class="username">root</systemitem>
179 user:</para>
180
181<screen role="root"><userinput>make install &amp;&amp;
182make texlinks</userinput></screen>
183
184 <para>And now, install the additional files as the
185 <systemitem class="username">root</systemitem> user:</para>
186
187<screen role="root"><userinput>mkdir -pv /opt/texlive/&texlive-year; &amp;&amp;
188tar -xf ../../texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</userinput></screen>
189
190 <para>You can now proceed to <xref linkend="asymptote"/>,
191 <xref linkend="biber"/> and / or <xref linkend="xindy"/> if you
192 wish to complete your texlive installation.</para>
193
194 </sect2>
195
196 <sect2 role="commands">
197 <title>Command Explanations</title>
198
199 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
200 href="../../xincludes/tex-prefix.xml"/>
201
202 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
203 href="../../xincludes/tex-lib.xml"/>
204
205 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
206 href="../../xincludes/static-libraries.xml"/>
207
208 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
209 href="../../xincludes/tex-shared.xml"/>
210
211 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
212 href="../../xincludes/tex-system.xml"/>
213
214<!-- <para>
215 <parameter>\-\-with-system-xpdf</parameter>: Uniquely, this parameter has
216 a non-standard meaning, it tells <command>configure</command> to use the
217 system-installed <application>poppler</application> headers and library.
218 Again, omit this if you have not installed
219 <application>poppler</application>.
220 </para> -->
221 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
222 href="../../xincludes/tex-xpdf.xml"/>
223
224 <para>
225 <option>--without-x</option>: use this if you do not have Xorg installed.
226 </para>
227
228 <para>
229 <parameter>make texlinks</parameter> : this runs the texlinks.sh script
230 to create (or recreate) symbolic links from formats to engines. In
231 practice, several of the targets such as <command>xetex</command> are now
232 separate binaries and for these it will report "file already exists".
233 </para>
234 <para>
235 <parameter>tar -xf texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</parameter>:
236 the tarball contains the files for the texmf-dist directory, and because
237 of its size we do not want to waste time and space untarring it and then
238 copying the files.
239 </para>
240
241 </sect2>
242
243 <sect2 role="content">
244 <title>Contents</title>
245
246 <segmentedlist>
247 <segtitle>Installed Programs</segtitle>
248 <segtitle>Installed Libraries</segtitle>
249 <segtitle>Installed Directories</segtitle>
250
251 <seglistitem>
252 <seg>Over 300 binaries and symlinks to scripts</seg>
253 <seg>libkpathsea.so, libptexenc.so</seg>
254 <seg>/opt/texlive/&texlive-year;/bin, /opt/texlive/&texlive-year;/texmf-dist,
255 /usr/include/kpathsea, /usr/include/ptexenc</seg>
256 </seglistitem>
257 </segmentedlist>
258
259 <variablelist>
260 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
261 <?dbfo list-presentation="list"?>
262 <?dbhtml list-presentation="table"?>
263
264 <varlistentry id="texlive-programs">
265 <term><command>TeX&nbsp;programs</command></term>
266 <listitem>
267 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
268 href="../../xincludes/texprogs.xml"/>
269 <indexterm zone="texlive texlive-programs">
270 <primary sortas="b-texlive-programs">TeX Live programs</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="libkpathsea">
276 <term><filename class="libraryfile">libkpathsea.so</filename></term>
277 <listitem>
278 <para>
279 (kpathsearch) exists to look up a file in a list of directories
280 and is used by <command>kpsewhich</command>.
281 </para>
282 <indexterm zone="texlive libkpathsea">
283 <primary sortas="c-libkpathsea">libkpathsea.so</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="libptexenc">
289 <term><filename class="libraryfile">libptexenc.so</filename></term>
290 <listitem>
291 <para>
292 is a library for Japanese pTeX (publishing TeX).
293 </para>
294 <indexterm zone="texlive libptexenc">
295 <primary sortas="c-libptexenc">libptexenc.so</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299 </variablelist>
300
301 </sect2>
302
303</sect1>
Note: See TracBrowser for help on using the repository browser.