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