source: pst/typesetting/tl-installer.xml@ 4a37aa1

12.1 ken/TL2024 lazarus trunk xry111/llvm18
Last change on this file since 4a37aa1 was 4a37aa1, checked in by Ken Moffat <zarniwhoop@…>, 3 months ago

Attempt to tag install-tl-unx

This does NOT fit into 'works properly', nor into 'not tested'.

I've tried

ln -sv /usr/lib/libcrypt.so.2 /usr/lib/libcrypt.so.1

but on my system that complains about GLIBC~_2.2.

iAlso, dvisvgm does not work properly on my tests which worked
in last August, it reports

The old, written in PostScript, PDF interpreter has been removed entirely.
You should cease using -dNEWDPF as it has no effect npre-processing DVI
file (format version 2)

And although svg files were produced, they missed some details.

I will find out later this week whether my test files need to be
updated for current dvisvgm *after* I have built TL2023 source.

  • Property mode set to 100644
File size: 12.3 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
66 <note>
67 <para>
68 The current binaries for biber and xindy are linked against an old
69 version of glibc which uses <filename>libcrypt.so.1</filename>
70 <emphasis>and</emphasis> provides GLIBC~_2.2.5. The other binaries
71 work, with the exception of dvisvgm which no longer accepts some
72 invocations that worked in August 2023.
73 </para>
74 </note>
75
76 &lfs121_checked;
77
78 <bridgehead renderas="sect3">Package Information</bridgehead>
79 <itemizedlist spacing="compact">
80 <listitem>
81 <para>
82 Download (HTTP): <ulink url="&tl-installer-download-http;"/>
83 </para>
84 </listitem>
85 <listitem>
86 <para>
87 Download (FTP): <ulink url="&tl-installer-download-ftp;"/>
88 </para>
89 </listitem>
90 <listitem>
91 <para>
92 <!--Download MD5 sum: &tl-installer-md5sum; (for &tl-installer-date;)-->
93 Download MD5 sum: Varies frequently
94 </para>
95 </listitem>
96 <listitem>
97 <para>
98 Download size: &tl-installer-size;
99 </para>
100 </listitem>
101 <listitem>
102 <para>
103 Estimated disk space required: &tl-installer-buildsize;
104 </para>
105 </listitem>
106 <listitem>
107 <para>
108 Estimated build time: &tl-installer-time;
109 </para>
110 </listitem>
111 </itemizedlist>
112
113 <bridgehead renderas="sect4">Recommended</bridgehead>
114 <para role="recommended">
115 <xref linkend="gnupg2"/> (to validate both the initial downloads, and also
116 any updates you might later make using <command>tlmgr</command>.)
117 <xref linkend="perl-libwww-perl"/> (to use a single connection to the server,
118 which will reduce its load and speed things up.)
119 </para>
120
121 <bridgehead renderas="sect4">Recommended (at runtime)</bridgehead>
122 <para role="recommended">
123 The binaries are mostly linked to included static libraries or
124 general (LFS) system libraries, but a few of the programs
125 and several scripts will fail if the following packages are not present:
126 </para>
127 <para role="recommended">
128 <xref role="runtime" linkend="gs"/> is dynamically loaded by
129 the external application <ulink url="https://dvisvgm.de/">dvisvgm</ulink>,
130 which is used by <application>asy</application> when that creates SVG
131 files.
132 </para>
133 <para role="recommended">
134 <xref role="runtime" linkend="xorg7-lib"/> and
135 <xref role="runtime" linkend="libxcb"/> are needed for inimf, mf,
136 pdfclose, pdfopen and xdvi-xaw. But if you are using asy, or using a
137 <application>TeX</application> engine to create a PDF file, you will
138 need <xref role="runtime" linkend="x-window-system"/> (for PDF files,
139 this is to support a PDF viewer of your choice, for example
140 <xref role="nodep" linkend="epdfview"/>).
141 </para>
142<!-- seems to not be needed in 2021
143 <para role="recommended">
144 the optional non-wide-character ncurses library (for "some binary-only
145 application") from the bottom of the <application>Ncurses</application>
146 page in LFS is needed
147 for xindy.run which is used by <application>xindy</application>
148 </para> -->
149 <para role="recommended">
150 The binary version of <application>asy</application> needs
151 <xref linkend="freeglut"/>.
152 </para>
153 <para> <!-- needed, but cannot recommend :-) -->
154 The binary version of asy is linked to libGLX.so.0 from
155 <ulink url="https://gitlab.freedesktop.org/glvnd/libglvnd/">libglvnd</ulink>,
156 but installing that will break future updates of BLFS packages such as
157 <xref linkend="mesa"/>. Work around that by creating a symlink as the
158 <systemitem class="username">root</systemitem> user:
159 </para>
160 <screen role="nodump"><userinput>ln -sv libGL.so.1 /usr/lib/libGLX.so.0</userinput></screen>
161 <note>
162 <para>
163 As always with contributed binary software, it is possible that the
164 required dependencies may change when the installer is updated. In
165 particular, these dependencies have only been checked on x86_64.
166 </para>
167 </note>
168 <!-- text for runtime deps, shared with texlive -->
169 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
170 href="../../xincludes/texruntime.xml"/>
171
172 </sect2>
173
174 <sect2 role="installation">
175 <title>Binary Installation of TeX Live</title>
176
177 <para>
178 The <application>TeX Live</application> set of programs with its
179 supporting documents, fonts, and utilities is very large. The upstream
180 maintainers recommend placing all files in a single directory structure.
181 BLFS recommends <filename class='directory'>/opt/texlive</filename>.
182 </para>
183
184 <para>
185 As with any other package, unpack the installer and change into its
186 directory, <filename class='directory'>
187 install-tl-&lt;CCYYMMDD&gt;</filename>.
188 This directory name changes when the installer is updated, so replace
189 &lt;CCYYMMDD&gt; by the correct directory name.
190 </para>
191
192 <warning>
193 <para>
194 If you have installed any of the luatex programs (luatex, luahbtex,
195 luajitex, luajithbtex) or ConTeXt with the luametatex backend there
196 was a security issue fixed by the introduction of luatex v1.17.0.
197 You should check the version with 'luatex --version' and if it is
198 less than 1.17.0 you can use tlmgr to update.
199 </para>
200 </warning>
201
202 <note>
203 <para>
204 The distribution binaries installed below may use static linking
205 for general linux system libraries. Additional libraries or
206 interpreters as specified in the dependencies section do not need to
207 be present during the install, but the programs that need them will
208 not run until their specific dependencies have been installed.
209 </para>
210
211 <!-- please keep something like this in the future -->
212 <para>
213 With all contributed binary software, there may be a mismatch between
214 the builder's toolchain and your hardware. In most of TeX this will
215 probably not matter, but in uncommon corner cases you might hit
216 problems. For example, if your x86_64 processor does not support 3dnowext or
217 3dnow, the 2014-06-28 binary failed in conTeXt when running LuaTeX,
218 although lualatex worked, as did the i686 binaries on the same
219 machine. In such cases, the easiest solution is to install texlive
220 from source. Similarly, the x86_64 binary version of
221 <command>asy</command> runs very slowly when creating 3-D diagrams.
222 </para>
223 </note>
224
225 <para>
226 Now, as the <systemitem class="username">root</systemitem> user:
227 </para>
228
229<screen role="root"><userinput>TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl</userinput></screen>
230
231 <para>
232 This command is interactive and allows selection or modification of
233 platform, packages, directories, and other options. The full installation
234 scheme will require about 4.9 gigabytes of disk space. The time to
235 complete the download will depend on your internet connection speed
236 and the number of packages selected.
237 </para>
238
239 <para>
240 It has been established by Debian that the <command>python</command>
241 scripts in <filename class="directory">latex-make</filename> will work
242 with <command>python3</command>, so update them to invoke that by running
243 the following command as the <systemitem class="username">root</systemitem>
244 user:
245 </para>
246
247<screen role="root"><userinput>for F in /opt/texlive/&texlive-year;/texmf-dist/scripts/latex-make/*.py ; do
248 test -f $F &amp;&amp; sed -i 's%/usr/bin/env python%/usr/bin/python3%' $F || true
249done
250</userinput></screen>
251
252 </sect2>
253
254 <sect2 role="commands">
255 <title>Command Explanations</title>
256
257 <para>
258 <command>test -f $F &amp;&amp; sed ...</command>: in a small install these
259 files might not be present, so test if they exist and if not return 'true'
260 to avoid any error if this command has been copied into one of your own install scripts.
261 </para>
262
263 <para>
264 <option>./install-tl --location
265 http://mirror.aut.ac.nz/CTAN/systems/texlive/tlnet/</option>: use a
266 variation of this if you wish to use a different mirror, for example, because
267 you are in New Zealand but the installer chooses to use an Australian
268 mirror. The list of mirrors is at
269 <ulink url='https://ctan.org/mirrors/'/>.
270 </para>
271
272 </sect2>
273
274 <sect2 role="content">
275 <title>Contents</title>
276
277 <segmentedlist>
278 <segtitle>Installed Programs</segtitle>
279 <segtitle>Installed Libraries</segtitle>
280 <segtitle>Installed Directories</segtitle>
281
282 <seglistitem>
283 <seg>Over 300 binaries and symlinks to scripts</seg>
284 <seg>None</seg>
285 <seg>/opt/texlive</seg>
286 </seglistitem>
287 </segmentedlist>
288
289 <variablelist>
290 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
291 <?dbfo list-presentation="list"?>
292 <?dbhtml list-presentation="table"?>
293
294 <varlistentry id="tl-installer-programs">
295 <term><command>TeX&nbsp;programs</command></term>
296 <listitem>
297 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
298 href="../../xincludes/texprogs.xml"/>
299 <indexterm zone="tl-installer tl-installer-programs">
300 <primary sortas="b-tl-installer-programs">TeX Live programs</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304 </variablelist>
305
306 </sect2>
307
308</sect1>
Note: See TracBrowser for help on using the repository browser.