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 "d90a8e6b1d9d96210a95ed7901356f41">
|
---|
11 | <!ENTITY tl-installer-size "2.9 MB">
|
---|
12 |
|
---|
13 | <!ENTITY tl-installer-buildsize "3.8 GB">
|
---|
14 | <!ENTITY tl-installer-time "varies, depending on network speed and traffic">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="tl-installer" xreflabel="install-tl-unx">
|
---|
18 | <?dbhtml filename="tl-installer.html"?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <othername>$LastChangedBy$</othername>
|
---|
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>The <application>TeX Live</application> package is a comprehensive
|
---|
35 | TeX document production system. It includes TEX, LaTeX2e, ConTEXt,
|
---|
36 | Metafont, MetaPost, BibTeX and many other programs; an extensive collection
|
---|
37 | of macros, fonts and documentation; and support for typesetting in many
|
---|
38 | different scripts from around the world.</para>
|
---|
39 |
|
---|
40 | <para>It is necessary to use a binary installer for the first install.
|
---|
41 | This will provide the programs, the scripts, and a lot of supporting files
|
---|
42 | and documentation. After that, you can rebuild the programs from source
|
---|
43 | by following the instructions for <xref linkend="texlive"/>. The installer
|
---|
44 | is updated frequently, so its md5sum will change if it is newer than what
|
---|
45 | is shown below. Newer versions of the installer are expected to work with
|
---|
46 | these instructions, for so long as they install to a
|
---|
47 | <filename class="directory">&texlive-year;/</filename> directory.</para>
|
---|
48 |
|
---|
49 | &lfs75_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; (at 20140213)</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 | there may be other libraries which are dynamically loaded.
|
---|
79 | </para>
|
---|
80 | <para>
|
---|
81 | <xref linkend="gs"/> is dynamically loaded by (at least) asy.
|
---|
82 | </para>
|
---|
83 | <para>
|
---|
84 | <xref linkend="libdrm"/>,
|
---|
85 | <xref linkend="freeglut"/> and
|
---|
86 | <xref linkend="glu"/> are needed for asy.
|
---|
87 | </para>
|
---|
88 | <para>
|
---|
89 | <xref linkend="xorg7-lib"/> and
|
---|
90 | <xref linkend="libxcb"/> are needed for asy, inimf, mf, pdfclose, pdfopen
|
---|
91 | and xdvixaw.
|
---|
92 | </para>
|
---|
93 | <para>
|
---|
94 | the optional non-wide-character ncurses libraries (for "some binary-only
|
---|
95 | application") from the bottom of the <application>Ncurses</application>
|
---|
96 | page in LFS are needed for asy and xindy.run.
|
---|
97 | </para>
|
---|
98 | <para>
|
---|
99 | <xref linkend="ruby"/> is used by many scripts,
|
---|
100 | <xref linkend="tk"/> is used by epspdftk
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <para condition="html" role="usernotes">User Notes:
|
---|
104 | <ulink url="&blfs-wiki;/tl-installer"/></para>
|
---|
105 |
|
---|
106 | </sect2>
|
---|
107 |
|
---|
108 | <sect2 role="installation">
|
---|
109 | <title>Binary Installation of TeX Live</title>
|
---|
110 |
|
---|
111 | <para>The <application>TeX Live</application> set of programs with its
|
---|
112 | supporting documents, fonts, and utilities is very large. The upstream
|
---|
113 | maintainers recommend placing all files in a single directory structure.
|
---|
114 | BLFS recommends <filename class='directory'>/opt/texlive</filename>.</para>
|
---|
115 |
|
---|
116 | <para>First, unpack the installer and change into the installer's
|
---|
117 | directory, <filename class='directory'>install-tl-<CCYYMMDD></filename>.
|
---|
118 | This directory name changes when the installer is updated, so replace
|
---|
119 | <CCYYMMDD> by the correct directory name.</para>
|
---|
120 |
|
---|
121 | <screen><userinput>tar -xf install-tl-unx.tar.gz &&
|
---|
122 | cd install-tl-<CCYYMMDD> </userinput></screen>
|
---|
123 |
|
---|
124 | <note><para>The distribution binaries installed below use static linking
|
---|
125 | for general linux system libraries. Additional libraries or interpreters
|
---|
126 | as specified in the dependencies section do not need to be present during
|
---|
127 | the install, but the programs that need them will not run until their
|
---|
128 | specific dependencies have been installed.</para></note>
|
---|
129 |
|
---|
130 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
131 | user:</para>
|
---|
132 |
|
---|
133 | <screen><userinput role="root">TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl</userinput></screen>
|
---|
134 |
|
---|
135 | <para>This command is interactive and allows selection or modification of
|
---|
136 | platform, packages, directories, and other options. The full installation
|
---|
137 | scheme will require about 3.8 gigabytes of disk space. The time to complete
|
---|
138 | the download will depend on your internet connection speed and the
|
---|
139 | number of packages selected.</para>
|
---|
140 |
|
---|
141 | <para>After the package download is complete, the next step is to make sure
|
---|
142 | that the system can properly find the files. If you set up your login
|
---|
143 | scripts as recommended in <xref linkend='postlfs-config-profile'/>, update
|
---|
144 | the needed paths by appending to the <filename>extrapaths.sh</filename> script.
|
---|
145 | The programs are always installed in an <ARCH>-linux subdirectory. If
|
---|
146 | you are not using x86_64, <emphasis>always</emphasis> change that to your
|
---|
147 | actual installation location.</para>
|
---|
148 |
|
---|
149 | <screen><userinput role="root">cat >> /etc/profile.d/extrapaths.sh << "EOF"
|
---|
150 | pathappend /usr/share/man MANPATH
|
---|
151 | pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/man MANPATH
|
---|
152 | pathappend /usr/share/info INFOPATH
|
---|
153 | pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/info INFOPATH
|
---|
154 | pathappend /opt/texlive/&texlive-year;/bin/x86_64-linux
|
---|
155 | EOF</userinput></screen>
|
---|
156 |
|
---|
157 | <note><para>The standard MANPATH and INFOPATH path are specified above to
|
---|
158 | ensure they are included. If they are already set in the boot script
|
---|
159 | procedure, the pathappend function will ensure duplicates are
|
---|
160 | removed, so including them here will do no harm.</para></note>
|
---|
161 |
|
---|
162 | <para>The new paths can be immediately activated by running <command>source
|
---|
163 | /etc/profile</command>.</para>
|
---|
164 |
|
---|
165 | <para>At this point the binary installation is complete.</para>
|
---|
166 |
|
---|
167 | </sect2>
|
---|
168 |
|
---|
169 | <sect2 role="content">
|
---|
170 | <title>Contents</title>
|
---|
171 |
|
---|
172 | <segmentedlist>
|
---|
173 | <segtitle>Installed Programs</segtitle>
|
---|
174 | <segtitle>Installed Libraries</segtitle>
|
---|
175 | <segtitle>Installed Directories</segtitle>
|
---|
176 |
|
---|
177 | <seglistitem>
|
---|
178 | <seg>Over 300 binaries and symlinks to scripts</seg>
|
---|
179 | <seg>None</seg>
|
---|
180 | <seg>/opt/texlive</seg>
|
---|
181 | </seglistitem>
|
---|
182 | </segmentedlist>
|
---|
183 |
|
---|
184 | <variablelist>
|
---|
185 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
186 | <?dbfo list-presentation="list"?>
|
---|
187 | <?dbhtml list-presentation="table"?>
|
---|
188 |
|
---|
189 | <varlistentry id="tl-installer-programs">
|
---|
190 | <term><command>TeX programs</command></term>
|
---|
191 | <listitem>
|
---|
192 | <para>included in the <application>TeX Live</application> package are
|
---|
193 | too numerous to individually list. Please refer to the individual
|
---|
194 | program man and html pages in the installation directory's 2011/index.html
|
---|
195 | directory, or the various PDF files within the subdirectories of texmf-dist.
|
---|
196 | </para>
|
---|
197 | <indexterm zone="tl-installer tl-installer-programs">
|
---|
198 | <primary sortas="b-tl-installer-programs">TeX Live programs</primary>
|
---|
199 | </indexterm>
|
---|
200 | </listitem>
|
---|
201 | </varlistentry>
|
---|
202 | </variablelist>
|
---|
203 |
|
---|
204 | </sect2>
|
---|
205 |
|
---|
206 | </sect1>
|
---|