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

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since fd52540 was 043de93, checked in by Bruce Dubbs <bdubbs@…>, 14 months ago

Three more tags

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