source: pst/typesetting/tl-installer.xml@ 7304e2a0

7.6-blfs 7.6-systemd kde5-14686 systemd-13485
Last change on this file since 7304e2a0 was 7304e2a0, checked in by Christopher Gregory <cjg@…>, 10 years ago

Merged tl-installer changes from trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14291 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.1 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 "http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz">
8
9 <!ENTITY tl-installer-download-ftp " ">
10 <!ENTITY tl-installer-md5sum "f5b1e909d5c2380cefd2cda83d288c00">
11 <!ENTITY tl-installer-date "20140628"> <!-- in the directory name -->
12 <!ENTITY tl-installer-size "3.2 MB">
13
14 <!ENTITY tl-installer-buildsize "3.8 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>It is necessary to use a binary installer for the first install.
42 This will provide the programs, the scripts, and a lot of supporting files
43 and documentation. After that, you can rebuild most of the programs from source
44 by following the instructions for <xref linkend="texlive"/>. The installer
45 is updated frequently, so its md5sum will change if it is newer than what
46 is shown below. Newer versions of the installer are expected to work with
47 these instructions, for so long as they install to a
48 <filename class="directory">&texlive-year;/</filename> directory.</para>
49
50 &lfs76_checked;
51
52 <bridgehead renderas="sect3">Package Information</bridgehead>
53 <itemizedlist spacing="compact">
54 <listitem>
55 <para>Download (HTTP): <ulink url="&tl-installer-download-http;"/></para>
56 </listitem>
57 <listitem>
58 <para>Download (FTP): <ulink url="&tl-installer-download-ftp;"/></para>
59 </listitem>
60 <listitem>
61 <para>Download MD5 sum: &tl-installer-md5sum; (at &tl-installer-date;)</para>
62 </listitem>
63 <listitem>
64 <para>Download size: &tl-installer-size;</para>
65 </listitem>
66 <listitem>
67 <para>Estimated disk space required: &tl-installer-buildsize;</para>
68 </listitem>
69 <listitem>
70 <para>Estimated build time: &tl-installer-time;</para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect4">Recommended (at runtime)</bridgehead>
75 <para role="recommended">
76 The binaries are mostly linked to static libraries such as
77 <filename class="libraryfile">libc.a</filename>, but a few of the programs
78 and several scripts will fail if the following packages are not present.
79 </para>
80 <para>
81 <xref linkend="gs"/> is dynamically loaded by dvisvgm, which is used by
82 <application>asy</application>.
83 </para>
84 <para>
85 <xref linkend="xorg7-lib"/> and
86 <xref linkend="libxcb"/> are needed for asy, inimf, mf, pdfclose, pdfopen
87 and xdvixaw. But if you are using <application>TeX</application> to create
88 a PDF file, you will need an <xref linkend="x-window-system"/> to support a
89 PDF viewer of your choice, for example <xref linkend="epdfview"/>.
90 </para>
91 <para>
92 <ulink url="http://www.fftw.org/">FFTW</ulink> is used by the binary version
93 of asy, at least on i686.
94 </para>
95 <para>
96 <ulink
97 url="ftp://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz">libreadline-5.2</ulink>
98 is used by the binary version of asy, at least on i686 : this only requires
99 <filename>libreadline.so.5.2</filename> which can be manually copied from
100 the <filename class="directory">shm/</filename> directory after running
101 <command>configure</command> and <command>make</command> and then
102 symlinked as <filename>libreadline.so.5</filename>.
103 </para>
104 <para>
105 the optional non-wide-character ncurses library (for "some binary-only
106 application") from the bottom of the <application>Ncurses</application>
107 page in LFS is needed for xindy.run which is used by
108 <application>xindy</application>
109 </para>
110 <para>
111 <xref linkend="python2"/> is used by many scripts.
112 </para>
113 <para>
114 <xref linkend="ruby"/> is used by some scripts, mostly within mtx_context
115 which is part of <application>conTeXt</application>.
116 </para>
117
118 <para condition="html" role="usernotes">User Notes:
119 <ulink url="&blfs-wiki;/tl-installer"/></para>
120
121 </sect2>
122
123 <sect2 role="installation">
124 <title>Binary Installation of TeX Live</title>
125
126 <para>The <application>TeX Live</application> set of programs with its
127 supporting documents, fonts, and utilities is very large. The upstream
128 maintainers recommend placing all files in a single directory structure.
129 BLFS recommends <filename class='directory'>/opt/texlive</filename>.</para>
130
131 <para>First, unpack the installer and change into the installer's
132 directory, <filename class='directory'>install-tl-&lt;CCYYMMDD&gt;</filename>.
133 This directory name changes when the installer is updated, so replace
134 &lt;CCYYMMDD&gt; by the correct directory name.</para>
135
136<screen><userinput>tar -xf install-tl-unx.tar.gz &amp;&amp;
137cd install-tl-&lt;CCYYMMDD&gt; </userinput></screen>
138
139 <note><para>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.</para></note>
144
145 <para>Now, as the <systemitem class="username">root</systemitem>
146 user:</para>
147
148<screen><userinput role="root">TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl</userinput></screen>
149
150 <para>This command is interactive and allows selection or modification of
151 platform, packages, directories, and other options. The full installation
152 scheme will require about 3.8 gigabytes of disk space. The time to complete
153 the download will depend on your internet connection speed and the
154 number of packages selected.</para>
155
156 <para>After the package download is complete, the next step is to make sure
157 that the system can properly find the files. If you set up your login
158 scripts as recommended in <xref linkend='postlfs-config-profile'/>, update
159 the needed paths by appending to the
160 <filename>extrapaths.sh</filename> script. The programs are always
161 installed in an &lt;ARCH&gt;-linux subdirectory.
162 <emphasis>Always</emphasis> replace &lt;ARCH&gt; by x86_64, for 64bit,
163 or by i386, for 32bit, respectively, depending on the architecture that
164 you are using in your actual installation location.</para>
165
166<screen><userinput role="root">cat &gt;&gt; /etc/profile.d/extrapaths.sh &lt;&lt; "EOF"
167pathappend /usr/share/man MANPATH
168pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/man MANPATH
169pathappend /usr/share/info INFOPATH
170pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/info INFOPATH
171pathappend /opt/texlive/&texlive-year;/bin/&lt;ARCH&gt;-linux
172EOF</userinput></screen>
173
174 <note><para>The standard MANPATH and INFOPATH path are specified above to
175 ensure they are included. If they are already set in the boot script
176 procedure, the pathappend function will ensure duplicates are
177 removed, so including them here will do no harm.</para></note>
178
179 <para>The new paths can be immediately activated by running <command>source
180 /etc/profile</command>.</para>
181
182 <para>At this point the binary installation is complete.</para>
183
184 </sect2>
185
186 <sect2 role="content">
187 <title>Contents</title>
188
189 <segmentedlist>
190 <segtitle>Installed Programs</segtitle>
191 <segtitle>Installed Libraries</segtitle>
192 <segtitle>Installed Directories</segtitle>
193
194 <seglistitem>
195 <seg>Over 300 binaries and symlinks to scripts</seg>
196 <seg>None</seg>
197 <seg>/opt/texlive</seg>
198 </seglistitem>
199 </segmentedlist>
200
201 <variablelist>
202 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
203 <?dbfo list-presentation="list"?>
204 <?dbhtml list-presentation="table"?>
205
206 <varlistentry id="tl-installer-programs">
207 <term><command>TeX&nbsp;programs</command></term>
208 <listitem>
209 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
210 href="../../xincludes/texprogs.xml"/>
211 <indexterm zone="tl-installer tl-installer-programs">
212 <primary sortas="b-tl-installer-programs">TeX Live programs</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216 </variablelist>
217
218 </sect2>
219
220</sect1>
Note: See TracBrowser for help on using the repository browser.