source: pst/typesetting/tl-installer.xml@ 8fc0db78

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8fc0db78 was 8fc0db78, checked in by Ken Moffat <ken@…>, 10 years ago

Reword install-tl-unx dependencies: asy needs Xorg; 32-bit x86 asy also needs FFTW, libglu, libreadline-5.2 at runtime.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14297 af4574ff-66df-0310-9fd7-8a98e5e911e0

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