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

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 6310566 was 6310566, checked in by Bruce Dubbs <bdubbs@…>, 20 months ago

Two more tags

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