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 "http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz">
|
---|
8 |
|
---|
9 | <!ENTITY tl-installer-download-ftp " ">
|
---|
10 | <!ENTITY tl-installer-md5sum "8f8fc301514c08a89a2e97197369c648">
|
---|
11 | <!ENTITY tl-installer-date "20170524"> <!-- in the directory name -->
|
---|
12 | <!ENTITY tl-installer-size "3.9 MB">
|
---|
13 |
|
---|
14 | <!ENTITY tl-installer-buildsize "4.9 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 | <othername>$LastChangedBy$</othername>
|
---|
23 | <date>$Date$</date>
|
---|
24 | </sect1info>
|
---|
25 |
|
---|
26 | <title>install-tl-unx</title>
|
---|
27 |
|
---|
28 | <indexterm zone="tl-installer">
|
---|
29 | <primary sortas="a-install-tl-unx">install-tl-unx</primary>
|
---|
30 | </indexterm>
|
---|
31 |
|
---|
32 | <sect2 role="package">
|
---|
33 | <title>Introduction to TeX Live and its installer</title>
|
---|
34 |
|
---|
35 | <para>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 collection
|
---|
38 | of macros, fonts and documentation; and support for typesetting in many
|
---|
39 | different scripts from around the world.</para>
|
---|
40 |
|
---|
41 | <para>This page is for people who wish to use the binary installer to
|
---|
42 | provide the programs, the scripts, and a lot of supporting files and
|
---|
43 | documentation. The installer is updated frequently, so its md5sum will
|
---|
44 | change if it is newer than what is shown below. Newer versions of the
|
---|
45 | installer are expected to work with these instructions, for so long as they
|
---|
46 | install to a
|
---|
47 | <filename class="directory">&texlive-year;/</filename> directory.</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 | &lfs80_checked;
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
63 | <itemizedlist spacing="compact">
|
---|
64 | <listitem>
|
---|
65 | <para>Download (HTTP): <ulink url="&tl-installer-download-http;"/></para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>Download (FTP): <ulink url="&tl-installer-download-ftp;"/></para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>Download MD5 sum: &tl-installer-md5sum; (for &tl-installer-date;)</para>
|
---|
72 | </listitem>
|
---|
73 | <listitem>
|
---|
74 | <para>Download size: &tl-installer-size;</para>
|
---|
75 | </listitem>
|
---|
76 | <listitem>
|
---|
77 | <para>Estimated disk space required: &tl-installer-buildsize;</para>
|
---|
78 | </listitem>
|
---|
79 | <listitem>
|
---|
80 | <para>Estimated build time: &tl-installer-time;</para>
|
---|
81 | </listitem>
|
---|
82 | </itemizedlist>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
85 | <para role="recommended">
|
---|
86 | <xref linkend="gnupg2"/> (to validate both the initial downloads, and also
|
---|
87 | any updates you might later make using <command>tlmgr</command>.)
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Recommended (at runtime)</bridgehead>
|
---|
91 | <para role="recommended">
|
---|
92 | The binaries are mostly linked to included static libraries or
|
---|
93 | general (LFS) system libraries, but a few of the programs
|
---|
94 | and several scripts will fail if the following packages are not present:
|
---|
95 | </para>
|
---|
96 | <para role="recommended">
|
---|
97 | <xref linkend="gs"/> is dynamically loaded by dvisvgm, which is used by
|
---|
98 | <application>asy</application>.
|
---|
99 | </para>
|
---|
100 | <para role="recommended">
|
---|
101 | <xref linkend="xorg7-lib"/> and
|
---|
102 | <xref linkend="libxcb"/> are needed for inimf, mf, pdfclose, pdfopen and
|
---|
103 | xdvi-xaw. But if you are using asy, or using a <application>TeX</application>
|
---|
104 | engine to create a PDF file, you will need an <xref linkend="x-window-system"/>
|
---|
105 | (for PDF files, this is to support a PDF viewer of your choice, for example
|
---|
106 | <xref linkend="epdfview"/>).
|
---|
107 | </para>
|
---|
108 | <para role="recommended">
|
---|
109 | the optional non-wide-character ncurses library (for "some binary-only
|
---|
110 | application") from the bottom of the <application>Ncurses</application>
|
---|
111 | page in LFS is needed by <application>asy</application>
|
---|
112 | and also for xindy.run which is used by <application>xindy</application>
|
---|
113 | </para>
|
---|
114 | <para role="recommended">
|
---|
115 | The binary versions of <application>asy</application> need
|
---|
116 | <xref linkend="glu"/>, <xref linkend="freeglut"/>. and <ulink
|
---|
117 | url="ftp://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz">libreadline-6.3</ulink>
|
---|
118 | with the LFS patch <ulink
|
---|
119 | url="http://www.linuxfromscratch.org/patches/downloads/readline/readline-6.3-upstream_fixes-3.patch">readline-6.3-upstream_fixes-1.patch</ulink>
|
---|
120 | : asy only requires <filename>libreadline.so.6.3</filename> which can be
|
---|
121 | manually copied from the <filename class="directory">shlib/</filename>
|
---|
122 | directory after running <command>configure</command> and
|
---|
123 | <command>make</command>
|
---|
124 | and then symlinked as <filename>libreadline.so.6</filename>.
|
---|
125 | </para>
|
---|
126 | <para>
|
---|
127 | As always with contributed binary software, it is possible that the required
|
---|
128 | dependencies may change when the installer is updated. In particular, these
|
---|
129 | dependencies have only been checked on x86_64.
|
---|
130 | </para>
|
---|
131 | <!-- text for runtime deps, shared with texlive -->
|
---|
132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
133 | href="../../xincludes/texruntime.xml"/>
|
---|
134 |
|
---|
135 | <para condition="html" role="usernotes">User Notes:
|
---|
136 | <ulink url="&blfs-wiki;/tl-installer"/></para>
|
---|
137 |
|
---|
138 | </sect2>
|
---|
139 |
|
---|
140 | <sect2 role="installation">
|
---|
141 | <title>Binary Installation of TeX Live</title>
|
---|
142 |
|
---|
143 | <para>The <application>TeX Live</application> set of programs with its
|
---|
144 | supporting documents, fonts, and utilities is very large. The upstream
|
---|
145 | maintainers recommend placing all files in a single directory structure.
|
---|
146 | BLFS recommends <filename class='directory'>/opt/texlive</filename>.</para>
|
---|
147 |
|
---|
148 | <para>As with any other package, unpack the installer and change into its
|
---|
149 | directory, <filename class='directory'>install-tl-<CCYYMMDD></filename>.
|
---|
150 | This directory name changes when the installer is updated, so replace
|
---|
151 | <CCYYMMDD> by the correct directory name.</para>
|
---|
152 |
|
---|
153 | <note>
|
---|
154 | <para>
|
---|
155 | The distribution binaries installed below may use static linking
|
---|
156 | for general linux system libraries. Additional libraries or interpreters
|
---|
157 | as specified in the dependencies section do not need to be present during
|
---|
158 | the install, but the programs that need them will not run until their
|
---|
159 | specific dependencies have been installed.
|
---|
160 | </para>
|
---|
161 |
|
---|
162 | <!-- please keep something like this in the future -->
|
---|
163 | <para>
|
---|
164 | With all contributed binary software, there may be a mismatch between the
|
---|
165 | builder's toolchain and your hardware. In most of TeX this will probably
|
---|
166 | not matter, but in uncommon corner cases you might hit problems.
|
---|
167 | e.g. if your x86_64 processor does not support 3dnowext or 3dnow, the
|
---|
168 | 2014-06-28 binary failed in conTeXt when running LuaTeX, although lualatex
|
---|
169 | worked, as did the i686 binaries on the same machine. In such cases, the
|
---|
170 | easiest solution is to install texlive from source. Similarly, the x86_64
|
---|
171 | binary version of <command>asy</command> runs very slowly when creating 3-D
|
---|
172 | diagrams.
|
---|
173 | </para>
|
---|
174 | </note>
|
---|
175 |
|
---|
176 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
177 | user:</para>
|
---|
178 |
|
---|
179 | <screen role="root"><userinput>TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl</userinput></screen>
|
---|
180 |
|
---|
181 | <para>This command is interactive and allows selection or modification of
|
---|
182 | platform, packages, directories, and other options. The full installation
|
---|
183 | scheme will require about 4.9 gigabytes of disk space. The time to complete
|
---|
184 | the download will depend on your internet connection speed and the
|
---|
185 | number of packages selected.</para>
|
---|
186 |
|
---|
187 | </sect2>
|
---|
188 |
|
---|
189 | <sect2 role="commands">
|
---|
190 | <title>Command Explanations</title>
|
---|
191 |
|
---|
192 | <para>
|
---|
193 | <option>./install-tl --location
|
---|
194 | http://mirror.aut.ac.nz/CTAN/systems/texlive/tlnet/</option>: use a
|
---|
195 | variation of this if you wish to use a different mirror, e.g. because
|
---|
196 | you are in New Zealand but the installer chooses to use an Australian
|
---|
197 | mirror. The list of mirrors is at http://ctan.org/mirrors.
|
---|
198 | </para>
|
---|
199 |
|
---|
200 | </sect2>
|
---|
201 |
|
---|
202 | <sect2 role="content">
|
---|
203 | <title>Contents</title>
|
---|
204 |
|
---|
205 | <segmentedlist>
|
---|
206 | <segtitle>Installed Programs</segtitle>
|
---|
207 | <segtitle>Installed Libraries</segtitle>
|
---|
208 | <segtitle>Installed Directories</segtitle>
|
---|
209 |
|
---|
210 | <seglistitem>
|
---|
211 | <seg>Over 300 binaries and symlinks to scripts</seg>
|
---|
212 | <seg>None</seg>
|
---|
213 | <seg>/opt/texlive</seg>
|
---|
214 | </seglistitem>
|
---|
215 | </segmentedlist>
|
---|
216 |
|
---|
217 | <variablelist>
|
---|
218 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
219 | <?dbfo list-presentation="list"?>
|
---|
220 | <?dbhtml list-presentation="table"?>
|
---|
221 |
|
---|
222 | <varlistentry id="tl-installer-programs">
|
---|
223 | <term><command>TeX programs</command></term>
|
---|
224 | <listitem>
|
---|
225 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
226 | href="../../xincludes/texprogs.xml"/>
|
---|
227 | <indexterm zone="tl-installer tl-installer-programs">
|
---|
228 | <primary sortas="b-tl-installer-programs">TeX Live programs</primary>
|
---|
229 | </indexterm>
|
---|
230 | </listitem>
|
---|
231 | </varlistentry>
|
---|
232 | </variablelist>
|
---|
233 |
|
---|
234 | </sect2>
|
---|
235 |
|
---|
236 | </sect1>
|
---|