source: pst/typesetting/tl-installer.xml@ ab4fdfc

12.1 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since ab4fdfc was ab4fdfc, checked in by Pierre Labastie <pierre.labastie@…>, 4 months ago

Change all xml decl to encoding=utf-8

  • Property mode set to 100644
File size: 11.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 tl-installer-download-http "https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz">
8
9 <!ENTITY tl-installer-download-ftp " ">
10 <!ENTITY tl-installer-md5sum "cec36f23d7d4e1a4a2a90f77bad8e667">
11 <!ENTITY tl-installer-date "20230313"> <!-- in the directory name -->
12 <!ENTITY tl-installer-size "5.5 MB">
13
14 <!ENTITY tl-installer-buildsize "310 MB for basic TeX and latex, 7.9GB if everything is included">
15 <!ENTITY tl-installer-time "varies, depending on network speed and traffic">
16]>
17
18<sect1 id="tl-installer" xreflabel="install-tl-unx">
19 <?dbhtml filename="tl-installer.html"?>
20
21
22 <title>install-tl-unx</title>
23
24 <indexterm zone="tl-installer">
25 <primary sortas="a-install-tl-unx">install-tl-unx</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to TeX Live and its installer</title>
30
31 <para>
32 The <application>TeX Live</application> package is a comprehensive
33 TeX document production system. It includes TeX, LaTeX2e, ConTeXt,
34 Metafont, MetaPost, BibTeX and many other programs; an extensive
35 collection of macros, fonts and documentation; and support for
36 typesetting in many different scripts from around the world.
37 </para>
38
39 <para>
40 This page is for people who wish to use the binary installer to
41 provide the programs, the scripts, and a lot of supporting files and
42 documentation. The installer is updated frequently, so any published
43 md5sum will soon be out of date. Newer versions of the
44 installer are expected to work with these instructions, for so long as
45 they install to a
46 <filename class="directory">&texlive-year;/</filename> directory.
47 </para>
48
49 <para>
50 There are two reasons why you may wish to install the binaries in BLFS:
51 either you need a smaller install (e.g. at a minimum plain TeX without
52 LaTeX2e, ConTeXt, etc), or you wish to use <command>tlmgr</command> to
53 get updates whilst this version is supported (typically, until April of
54 the year after it was released). For the latter, you might prefer to
55 install in your <filename class="directory">/home</filename> directory
56 as an unprivileged user, and to then make corresponding changes to the
57 PATH in your <filename>~/.bashrc</filename> or equivalent.
58 </para>
59
60 <!-- editors: latex-test-20230819.tar.xz at ~/ken/tex-testfiles and the
61 ABOUT.pdf now deal with specifying which collections are needed when using
62 binary texlive. Please do not sign off this package without at least
63 testing asy to ensure that the symlinks are as needed. Plese also be aware
64 that removing a collection might leave huge backups in tlpkg/backups -->
65 &lfs120_checked;
66
67 <bridgehead renderas="sect3">Package Information</bridgehead>
68 <itemizedlist spacing="compact">
69 <listitem>
70 <para>
71 Download (HTTP): <ulink url="&tl-installer-download-http;"/>
72 </para>
73 </listitem>
74 <listitem>
75 <para>
76 Download (FTP): <ulink url="&tl-installer-download-ftp;"/>
77 </para>
78 </listitem>
79 <listitem>
80 <para>
81 <!--Download MD5 sum: &tl-installer-md5sum; (for &tl-installer-date;)-->
82 Download MD5 sum: Varies frequently
83 </para>
84 </listitem>
85 <listitem>
86 <para>
87 Download size: &tl-installer-size;
88 </para>
89 </listitem>
90 <listitem>
91 <para>
92 Estimated disk space required: &tl-installer-buildsize;
93 </para>
94 </listitem>
95 <listitem>
96 <para>
97 Estimated build time: &tl-installer-time;
98 </para>
99 </listitem>
100 </itemizedlist>
101
102 <bridgehead renderas="sect4">Recommended</bridgehead>
103 <para role="recommended">
104 <xref linkend="gnupg2"/> (to validate both the initial downloads, and also
105 any updates you might later make using <command>tlmgr</command>.)
106 <xref linkend="perl-libwww-perl"/> (to use a single connection to the server,
107 which will reduce its load and speed things up.)
108 </para>
109
110 <bridgehead renderas="sect4">Recommended (at runtime)</bridgehead>
111 <para role="recommended">
112 The binaries are mostly linked to included static libraries or
113 general (LFS) system libraries, but a few of the programs
114 and several scripts will fail if the following packages are not present:
115 </para>
116 <para role="recommended">
117 <xref role="runtime" linkend="gs"/> is dynamically loaded by
118 the external application <ulink url="https://dvisvgm.de/">dvisvgm</ulink>,
119 which is used by <application>asy</application> when that creates SVG
120 files.
121 </para>
122 <para role="recommended">
123 <xref role="runtime" linkend="xorg7-lib"/> and
124 <xref role="runtime" linkend="libxcb"/> are needed for inimf, mf,
125 pdfclose, pdfopen and xdvi-xaw. But if you are using asy, or using a
126 <application>TeX</application> engine to create a PDF file, you will
127 need <xref role="runtime" linkend="x-window-system"/> (for PDF files,
128 this is to support a PDF viewer of your choice, for example
129 <xref role="nodep" linkend="epdfview"/>).
130 </para>
131<!-- seems to not be needed in 2021
132 <para role="recommended">
133 the optional non-wide-character ncurses library (for "some binary-only
134 application") from the bottom of the <application>Ncurses</application>
135 page in LFS is needed
136 for xindy.run which is used by <application>xindy</application>
137 </para> -->
138 <para role="recommended">
139 The binary version of <application>asy</application> needs
140 <xref linkend="freeglut"/>.
141 </para>
142 <para> <!-- needed, but cannot recommend :-) -->
143 The binary version of asy is linked to libGLX.so.0 from
144 <ulink url="https://gitlab.freedesktop.org/glvnd/libglvnd/">libglvnd</ulink>,
145 but installing that will break future updates of BLFS packages such as
146 <xref linkend="mesa"/>. Work around that by creating a symlink as the
147 <systemitem class="username">root</systemitem> user:
148 </para>
149 <screen role="nodump"><userinput>ln -sv libGL.so.1 /usr/lib/libGLX.so.0</userinput></screen>
150 <note>
151 <para>
152 As always with contributed binary software, it is possible that the
153 required dependencies may change when the installer is updated. In
154 particular, these dependencies have only been checked on x86_64.
155 </para>
156 </note>
157 <!-- text for runtime deps, shared with texlive -->
158 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
159 href="../../xincludes/texruntime.xml"/>
160
161 </sect2>
162
163 <sect2 role="installation">
164 <title>Binary Installation of TeX Live</title>
165
166 <para>
167 The <application>TeX Live</application> set of programs with its
168 supporting documents, fonts, and utilities is very large. The upstream
169 maintainers recommend placing all files in a single directory structure.
170 BLFS recommends <filename class='directory'>/opt/texlive</filename>.
171 </para>
172
173 <para>
174 As with any other package, unpack the installer and change into its
175 directory, <filename class='directory'>
176 install-tl-&lt;CCYYMMDD&gt;</filename>.
177 This directory name changes when the installer is updated, so replace
178 &lt;CCYYMMDD&gt; by the correct directory name.
179 </para>
180
181 <warning>
182 <para>
183 If you have installed any of the luatex programs (luatex, luahbtex,
184 luajitex, luajithbtex) or ConTeXt with the luametatex backend there
185 was a security issue fixed by the introduction of luatex v1.17.0.
186 You should check the version with 'luatex --version' and if it is
187 less than 1.17.0 you can use tlmgr to update.
188 </para>
189 </warning>
190
191 <note>
192 <para>
193 The distribution binaries installed below may use static linking
194 for general linux system libraries. Additional libraries or
195 interpreters as specified in the dependencies section do not need to
196 be present during the install, but the programs that need them will
197 not run until their specific dependencies have been installed.
198 </para>
199
200 <!-- please keep something like this in the future -->
201 <para>
202 With all contributed binary software, there may be a mismatch between
203 the builder's toolchain and your hardware. In most of TeX this will
204 probably not matter, but in uncommon corner cases you might hit
205 problems. For example, if your x86_64 processor does not support 3dnowext or
206 3dnow, the 2014-06-28 binary failed in conTeXt when running LuaTeX,
207 although lualatex worked, as did the i686 binaries on the same
208 machine. In such cases, the easiest solution is to install texlive
209 from source. Similarly, the x86_64 binary version of
210 <command>asy</command> runs very slowly when creating 3-D diagrams.
211 </para>
212 </note>
213
214 <para>
215 Now, as the <systemitem class="username">root</systemitem> user:
216 </para>
217
218<screen role="root"><userinput>TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl</userinput></screen>
219
220 <para>
221 This command is interactive and allows selection or modification of
222 platform, packages, directories, and other options. The full installation
223 scheme will require about 4.9 gigabytes of disk space. The time to
224 complete the download will depend on your internet connection speed
225 and the number of packages selected.
226 </para>
227
228 <para>
229 It has been established by Debian that the <command>python</command>
230 scripts in <filename class="directory">latex-make</filename> will work
231 with <command>python3</command>, so update them to invoke that by running
232 the following command as the <systemitem class="username">root</systemitem>
233 user:
234 </para>
235
236<screen role="root"><userinput>for F in /opt/texlive/&texlive-year;/texmf-dist/scripts/latex-make/*.py ; do
237 test -f $F &amp;&amp; sed -i 's%/usr/bin/env python%/usr/bin/python3%' $F || true
238done
239</userinput></screen>
240
241 </sect2>
242
243 <sect2 role="commands">
244 <title>Command Explanations</title>
245
246 <para>
247 <command>test -f $F &amp;&amp; sed ...</command>: in a small install these
248 files might not be present, so test if they exist and if not return 'true'
249 to avoid any error if this command has been copied into one of your own install scripts.
250 </para>
251
252 <para>
253 <option>./install-tl --location
254 http://mirror.aut.ac.nz/CTAN/systems/texlive/tlnet/</option>: use a
255 variation of this if you wish to use a different mirror, for example, because
256 you are in New Zealand but the installer chooses to use an Australian
257 mirror. The list of mirrors is at
258 <ulink url='https://ctan.org/mirrors/'/>.
259 </para>
260
261 </sect2>
262
263 <sect2 role="content">
264 <title>Contents</title>
265
266 <segmentedlist>
267 <segtitle>Installed Programs</segtitle>
268 <segtitle>Installed Libraries</segtitle>
269 <segtitle>Installed Directories</segtitle>
270
271 <seglistitem>
272 <seg>Over 300 binaries and symlinks to scripts</seg>
273 <seg>None</seg>
274 <seg>/opt/texlive</seg>
275 </seglistitem>
276 </segmentedlist>
277
278 <variablelist>
279 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
280 <?dbfo list-presentation="list"?>
281 <?dbhtml list-presentation="table"?>
282
283 <varlistentry id="tl-installer-programs">
284 <term><command>TeX&nbsp;programs</command></term>
285 <listitem>
286 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
287 href="../../xincludes/texprogs.xml"/>
288 <indexterm zone="tl-installer tl-installer-programs">
289 <primary sortas="b-tl-installer-programs">TeX Live programs</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293 </variablelist>
294
295 </sect2>
296
297</sect1>
Note: See TracBrowser for help on using the repository browser.